mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-21 01:52:55 +00:00
Merge 6315f7b624 into c3e02fb2d6
This commit is contained in:
commit
8ae3e34810
|
|
@ -593,6 +593,12 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot, float
|
|||
if (sleeve1)
|
||||
sleeve1->yRot=0.0f;
|
||||
|
||||
if (holdingRightHand == 3)
|
||||
{
|
||||
arm0->yRot = -0.4f;
|
||||
if (sleeve0) sleeve0->yRot = -0.4f;
|
||||
}
|
||||
|
||||
if (attackTime > -9990.0f)
|
||||
{
|
||||
float swing = attackTime;
|
||||
|
|
|
|||
|
|
@ -635,10 +635,10 @@ void PlayerRenderer::additionalRendering(shared_ptr<LivingEntity> _mob, float a)
|
|||
{
|
||||
if (anim == UseAnim_block)
|
||||
{
|
||||
glTranslatef(0.05f, 0, -0.1f);
|
||||
glRotatef(-50, 0, 1, 0);
|
||||
glRotatef(-10, 1, 0, 0);
|
||||
glRotatef(-60, 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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue