mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 10:35:11 -04:00
Fix player rotation for good, fixes #77. (Thanks Goodly)
This commit is contained in:
parent
44ca876dd0
commit
e1d87aeb88
@ -97,8 +97,8 @@ namespace ClassicalSharp.Model {
|
|||||||
DrawPart( model.Torso );
|
DrawPart( model.Torso );
|
||||||
DrawRotate( 0, 12/16f, 0, p.leftLegXRot, 0, 0, model.LeftLeg );
|
DrawRotate( 0, 12/16f, 0, p.leftLegXRot, 0, 0, model.LeftLeg );
|
||||||
DrawRotate( 0, 12/16f, 0, p.rightLegXRot, 0, 0, model.RightLeg );
|
DrawRotate( 0, 12/16f, 0, p.rightLegXRot, 0, 0, model.RightLeg );
|
||||||
DrawRotate( -2/16f, 22/16f, 0, p.leftArmXRot, 0, p.leftArmZRot, model.LeftArm );
|
DrawRotate( -6/16f, 22/16f, 0, p.leftArmXRot, 0, p.leftArmZRot, model.LeftArm );
|
||||||
DrawRotate( 2/16f, 22/16f, 0, p.rightArmXRot, 0, p.rightArmZRot, model.RightArm );
|
DrawRotate( 6/16f, 22/16f, 0, p.rightArmXRot, 0, p.rightArmZRot, model.RightArm );
|
||||||
graphics.AlphaTest = true;
|
graphics.AlphaTest = true;
|
||||||
DrawRotate( 0, 23.5f/16f, 0, -p.PitchRadians, 0, 0, model.Hat );
|
DrawRotate( 0, 23.5f/16f, 0, -p.PitchRadians, 0, 0, model.Hat );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user