fix: incomplete size transform support by entities
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user