mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix: incomplete size transform support by entities
This commit is contained in:
parent
1d56d83b72
commit
fefc975832
7 changed files with 53 additions and 26 deletions
|
|
@ -28,6 +28,13 @@ void HandsRenderer::renderHands(
|
|||
const auto& config = *skeleton.config;
|
||||
|
||||
modelBatch.setLightsOffset(camera.position);
|
||||
config.update(skeleton, glm::mat4(1.0f), glm::vec3());
|
||||
config.render(assets, modelBatch, skeleton, glm::mat3(1.0f), glm::vec3());
|
||||
config.update(skeleton, glm::mat4(1.0f), glm::vec3(), glm::vec3(1.0f));
|
||||
config.render(
|
||||
assets,
|
||||
modelBatch,
|
||||
skeleton,
|
||||
glm::mat3(1.0f),
|
||||
glm::vec3(),
|
||||
glm::vec3(1.0f)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue