mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
refactor WorldRenderer
This commit is contained in:
parent
f9f4d2037f
commit
e9163f4228
6 changed files with 19 additions and 17 deletions
|
|
@ -32,7 +32,7 @@ namespace rigging {
|
|||
model::Model* model;
|
||||
bool updateFlag;
|
||||
|
||||
void refresh(const Assets* assets);
|
||||
void refresh(const Assets& assets);
|
||||
};
|
||||
|
||||
class Bone {
|
||||
|
|
@ -111,7 +111,7 @@ namespace rigging {
|
|||
|
||||
void update(Skeleton& skeleton, glm::mat4 matrix) const;
|
||||
void render(
|
||||
Assets* assets,
|
||||
const Assets& assets,
|
||||
ModelBatch& batch,
|
||||
Skeleton& skeleton,
|
||||
const glm::mat4& matrix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue