fix sword rotation values

This commit is contained in:
KKNecmi 2026-05-25 22:47:52 +03:00
parent f1b62154df
commit 6315f7b624

View file

@ -635,10 +635,10 @@ void PlayerRenderer::additionalRendering(shared_ptr<LivingEntity> _mob, float a)
{
if (anim == UseAnim_block)
{
glTranslatef(-0.015f, -0.05f, -0.08f);
glRotatef(-20, 0, 1, 0);
glRotatef(10, 1, 0, 0);
glRotatef(0, 0, 0, 1);
glTranslatef(-0.015f, -0.05f, -0.12f);
glRotatef(0, 0, 1, 0); //-20 / -15
glRotatef(20, 1, 0, 0); //10 / 30
glRotatef(-5, 0, 0, 1); //0 / 5
}
}
glTranslatef(0, 3 / 16.0f, 0);