mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Fix rotated position of arm
This commit is contained in:
parent
86b3f59603
commit
44df2f1a83
1 changed files with 5 additions and 1 deletions
|
@ -140,7 +140,11 @@ namespace ClassicalSharp.Model {
|
|||
game.Graphics.PushMatrix();
|
||||
game.Graphics.MultiplyMatrix(ref m);
|
||||
|
||||
DrawRotate(0, 0, 0 * Utils.Deg2Rad, model.RightArm, false);
|
||||
ModelPart part = model.RightArm;
|
||||
part.RotX += 1 / 16.0f;
|
||||
part.RotY -= 4 / 16.0f;
|
||||
DrawRotate(0, 0, 120 * Utils.Deg2Rad, part, false);
|
||||
|
||||
UpdateVB();
|
||||
game.Graphics.PopMatrix();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue