Fix rotation of other models. (Thanks Goodlyay)

This commit is contained in:
UnknownShadow200 2015-09-19 18:41:01 +10:00
parent e1d87aeb88
commit ee16d19678
2 changed files with 4 additions and 4 deletions

View File

@ -65,8 +65,8 @@ namespace ClassicalSharp.Model {
DrawPart( Torso );
DrawRotate( 0, 12/16f, 0, p.leftLegXRot, 0, 0, LeftLeg );
DrawRotate( 0, 12/16f, 0, p.rightLegXRot, 0, 0, RightLeg );
DrawRotate( 0, 22/16f, 0, (float)Math.PI / 2, 0, p.leftArmZRot, LeftArm );
DrawRotate( 0, 22/16f, 0, (float)Math.PI / 2, 0, p.rightArmZRot, RightArm );
DrawRotate( -5/16f, 23/16f, 0, (float)Math.PI / 2, 0, p.leftArmZRot, LeftArm );
DrawRotate( 5/16f, 23/16f, 0, (float)Math.PI / 2, 0, p.rightArmZRot, RightArm );
}
ModelPart Head, Torso, LeftLeg, RightLeg, LeftArm, RightArm;

View File

@ -65,8 +65,8 @@ namespace ClassicalSharp.Model {
DrawPart( Torso );
DrawRotate( 0, 12/16f, 0, p.leftLegXRot, 0, 0, LeftLeg );
DrawRotate( 0, 12/16f, 0, p.rightLegXRot, 0, 0, RightLeg );
DrawRotate( 0, 22/16f, 0, (float)Math.PI / 2, 0, p.leftArmZRot, LeftArm );
DrawRotate( 0, 22/16f, 0, (float)Math.PI / 2, 0, p.rightArmZRot, RightArm );
DrawRotate( -6/16f, 22/16f, 0, (float)Math.PI / 2, 0, p.leftArmZRot, LeftArm );
DrawRotate( 6/16f, 22/16f, 0, (float)Math.PI / 2, 0, p.rightArmZRot, RightArm );
graphics.AlphaTest = true;
}