fix non-local players interpolation and head direction

This commit is contained in:
MihailRis
2025-09-29 22:21:14 +03:00
parent e9222976ef
commit 75ef603df0
5 changed files with 29 additions and 25 deletions
+1 -2
View File
@@ -27,8 +27,7 @@ void HandsRenderer::renderHands(
auto& skeleton = *this->skeleton;
const auto& config = *skeleton.config;
// render
modelBatch.setLightsOffset(camera.position);
config.update(skeleton, glm::mat4(1.0f), glm::vec3());
config.render(assets, modelBatch, skeleton, glm::mat4(1.0f), glm::vec3());
config.render(assets, modelBatch, skeleton, glm::mat3(1.0f), glm::vec3());
}