mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 10:05:44 -04:00
Fix rotation of other models. (Thanks Goodlyay)
This commit is contained in:
parent
e1d87aeb88
commit
ee16d19678
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user