+ struct Animation {
+ double duration;
+ std::vector<const aiNodeAnim*> nodeAnims;
+ };
+
+ typedef std::map<std::string, std::pair<unsigned int, aiBone*>> BoneMap;
+ typedef std::map<std::string, std::vector<const Animation>> AnimMap;
+ typedef std::map<std::string, glm::mat4> BoneTransforms;
+
+ struct VertBones {
+ unsigned int ids[4] = {0, 0, 0 ,0};
+ float weights[4] = {1, 0, 0, 0};
+ };
+
+ public:
+ Model(std::vector<std::string> blendshapes, std::string neutral, Program p);
+ Model(const aiScene *scene, Program p);
+ void draw(Skybox skybox, const float tick) const;
+