Files
test/source/blender/blenlib
Alexander Gavrilov 814b2787ca Fix T83196: bad matrix to quaternion precision near 180 degrees rotation.
Adjust the threshold for switching from the base case to trace > 0,
based on very similar example code from www.euclideanspace.com to
avoid float precision issues when trace is close to -1.

Also, remove conversions to and from double, because using double
here doesn't really have benefit, especially with the new threshold.

Finally, add quaternion-matrix-quaternion round trip tests with
full coverage for all 4 branches.

Differential Revision: https://developer.blender.org/D9675
2020-11-30 21:46:45 +03:00
..
2020-08-27 15:33:33 +10:00
2020-08-10 18:17:07 +02:00
2020-08-28 10:04:26 -06:00
2020-10-19 08:43:08 -07:00
2020-11-10 08:48:18 -07:00