mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
simplified scaling code
Former-commit-id: 9e35a57ea812f1446958daac2ccd4c3492d19347
This commit is contained in:
parent
0a34bfab9b
commit
c0a8a677b7
@ -80,14 +80,6 @@ impl Animation for IdleAnimation {
|
|||||||
next.r_shoulder.ori = Quaternion::rotation_y(0.0);
|
next.r_shoulder.ori = Quaternion::rotation_y(0.0);
|
||||||
next.r_shoulder.scale = Vec3::one();
|
next.r_shoulder.scale = Vec3::one();
|
||||||
|
|
||||||
next.l_shoulder.offset = Vec3::new(2.9, 6.0, 18.0) / SCALE;
|
|
||||||
next.l_shoulder.ori = Quaternion::rotation_y(0.0);
|
|
||||||
next.l_shoulder.scale = Vec3::one() / SCALE;
|
|
||||||
|
|
||||||
next.r_shoulder.offset = Vec3::new(2.9, -6.0, 18.0) / SCALE;
|
|
||||||
next.r_shoulder.ori = Quaternion::rotation_y(0.0);
|
|
||||||
next.r_shoulder.scale = Vec3::one() / SCALE;
|
|
||||||
|
|
||||||
next
|
next
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user