add modeltree:get_model(index)

This commit is contained in:
MihailRis
2024-07-02 17:06:33 +03:00
parent 28ceffde9e
commit 3fe66e134d
8 changed files with 54 additions and 21 deletions
+4 -1
View File
@@ -69,7 +69,8 @@ class LineBatch;
class ModelBatch;
class Frustum;
class Entities;
namespace riggining {
namespace rigging {
struct Rig;
class RigConfig;
}
@@ -112,6 +113,8 @@ public:
return registry.get<Scripting>(entity);
}
rigging::Rig& getModeltree() const;
entityid_t getUID() const {
return registry.get<EntityId>(entity).uid;
}