Files
o3de/Code/Framework/AzCore/Tests
Benjamin Jillich 79dd65e1cc Quaternion shortest equivalent (#6472)
* Added new helper functions to get the shortest equivalent of the rotation. In case the w component of the quaternion is negative the rotation is > 180° and taking the longer path. The quaternion will be inverted in that case to take the shortest path of rotation.
* Added unit test.
* Renamed the angle parameter of the CreateRotationX/Y/Z() functions into angleInRadians.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2022-01-03 10:20:27 +01:00
..
2021-12-07 12:35:41 -08:00
2021-12-02 17:15:46 -08:00
2021-08-16 16:02:53 -07:00
2021-12-07 12:35:41 -08:00
2021-10-05 15:12:53 -05:00
2021-12-02 17:15:46 -08:00
2021-12-01 16:50:45 -08:00
2021-12-02 17:15:46 -08:00
2021-08-20 14:48:42 -07:00
2021-08-20 14:48:42 -07:00
2021-09-03 14:50:26 -07:00
2021-12-02 17:15:46 -08:00
2021-08-20 20:36:11 -07:00
2021-09-08 16:50:57 -07:00
2021-12-02 17:15:46 -08:00