diff --git a/src/Libraries/MeshCompiler.h b/src/Libraries/MeshCompiler.h index 7afe25e..533e0b8 100644 --- a/src/Libraries/MeshCompiler.h +++ b/src/Libraries/MeshCompiler.h @@ -47,7 +47,8 @@ namespace SH_COMP static inline void LoadFromFile(AssetPath path, ModelRef asset) noexcept; static inline void ProcessModel(ModelData const& model, ModelRef asset) noexcept; - static inline void ProcessAnimations(ModelData const& model, ModelRef asset) noexcept; + static inline void ProcessAnimationChannels(ModelData const& model, ModelRef asset) noexcept; + static inline void ProcessNodes(ModelData const& model, ModelRef asset) noexcept; static inline void BuildHeaders(ModelRef asset) noexcept; diff --git a/src/Libraries/MeshCompiler.hpp b/src/Libraries/MeshCompiler.hpp index 56cf9d1..9d42c47 100644 --- a/src/Libraries/MeshCompiler.hpp +++ b/src/Libraries/MeshCompiler.hpp @@ -57,7 +57,7 @@ namespace SH_COMP } ProcessModel(model, asset); - ProcessAnimations(model, asset); + ProcessAnimationChannels(model, asset); } inline void MeshCompiler::ProcessModel(ModelData const& data, ModelRef asset) noexcept @@ -214,7 +214,7 @@ namespace SH_COMP delete asset; } - inline void MeshCompiler::ProcessAnimations(ModelData const& model, ModelRef asset) noexcept + inline void MeshCompiler::ProcessAnimationChannels(ModelData const& model, ModelRef asset) noexcept { asset.anims.resize(model.animations.size()); for (auto i {0}; i < model.animations.size(); ++i) @@ -249,4 +249,9 @@ namespace SH_COMP std::cout << "all anim channels copied\n"; } } + + inline void MeshCompiler::ProcessNodes(ModelData const& model, ModelRef asset) noexcept + { + + } }