#ifndef SKINNED_MESH_CREATOR_H #define SKINNED_MESH_CREATOR_H #include #include #include #include "meshloader.h" #include "meshresultcontext.h" #include "jointnodetree.h" class SkinnedMeshCreator { public: SkinnedMeshCreator(const MeshResultContext &meshResultContext, const std::map &resultWeights); MeshLoader *createMeshFromTransform(const std::vector &matricies); private: MeshResultContext m_meshResultContext; std::map m_resultWeights; std::vector m_verticesBindPositions; std::vector m_verticesBindNormals; }; #endif