#pragma once #include "CDrawableAnimatable.h" #include "GL/glew.h" #include #include class CGL430Drawable : public CDrawableAnimatable { public: CGL430Drawable(); ~CGL430Drawable(); bool IsReadyToDraw() const; void ReuploadBonesData(); GLuint bonesSSBO = 0; private: bool m_readyToDraw = false; bool m_needToUpdateBones = false; std::map bones_offsets; std::map trans_joint; std::vector bones_data; };