change rigs role from assets to content units

This commit is contained in:
MihailRis
2024-07-08 05:03:09 +03:00
parent 7dfda981a8
commit 49aa64a033
16 changed files with 67 additions and 70 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ namespace rigging {
};
struct Rig {
RigConfig* config;
const RigConfig* config;
Pose pose;
Pose calculated;
std::unordered_map<std::string, std::string> textures;
@@ -99,7 +99,7 @@ namespace rigging {
Rig& rig,
const glm::mat4& matrix) const;
Rig instance() {
Rig instance() const {
return Rig {
this, Pose(nodes.size()), Pose(nodes.size()), {}
};