mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
feat: complete item 'model-name' support
This commit is contained in:
parent
7c933f89c6
commit
9c3d4af907
3 changed files with 3 additions and 3 deletions
|
|
@ -381,7 +381,7 @@ void WorldRenderer::renderHands(const Camera& camera, const Assets& assets) {
|
|||
modelBatch->draw(
|
||||
matrix,
|
||||
glm::vec3(1.0f),
|
||||
assets.get<model::Model>(def.name + ".model"),
|
||||
assets.get<model::Model>(def.modelName),
|
||||
&map
|
||||
);
|
||||
Window::clearDepth();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue