mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
add modeltree:get_model(index)
This commit is contained in:
parent
28ceffde9e
commit
3fe66e134d
8 changed files with 54 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue