refactor Entities

This commit is contained in:
MihailRis
2025-08-09 21:19:01 +03:00
parent 36a522bee0
commit 3eae377024
23 changed files with 485 additions and 348 deletions
+4 -1
View File
@@ -9,6 +9,7 @@
#include <vector>
#include "typedefs.hpp"
#include "data/dv_fwd.hpp"
#include "util/Interpolation.hpp"
class Assets;
@@ -50,7 +51,7 @@ namespace rigging {
std::string name,
std::string model,
std::vector<std::unique_ptr<Bone>> bones,
glm::vec3 offset
const glm::vec3& offset
);
void setModel(const std::string& name);
@@ -89,6 +90,8 @@ namespace rigging {
util::VecInterpolation<3, float> interpolation {false};
Skeleton(const SkeletonConfig* config);
dv::value serialize(bool saveTextures, bool savePose) const;
};
class SkeletonConfig {