mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
change rigs role from assets to content units
This commit is contained in:
parent
7dfda981a8
commit
49aa64a033
16 changed files with 67 additions and 70 deletions
|
|
@ -138,7 +138,7 @@ public:
|
|||
|
||||
rigging::Rig& getModeltree() const;
|
||||
|
||||
void setRig(rigging::RigConfig* rigConfig);
|
||||
void setRig(const rigging::RigConfig* rigConfig);
|
||||
|
||||
entityid_t getUID() const {
|
||||
return registry.get<EntityId>(entity).uid;
|
||||
|
|
@ -170,7 +170,6 @@ public:
|
|||
void render(Assets* assets, ModelBatch& batch, const Frustum& frustum);
|
||||
|
||||
entityid_t spawn(
|
||||
Assets* assets,
|
||||
EntityDef& def,
|
||||
Transform transform,
|
||||
dynamic::Value args=dynamic::NONE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue