Blender Git Commit Log
Git Commits  -> Revision 814b278
		
			
			
		
| Revision 814b278 by Alexander Gavrilov (master) November 30, 2020, 18:46 (GMT) | 
| 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 | 
Commit Details:
Full Hash: 814b2787caddf5bd81477bd7b5dea8c45c402a72
Parent Commit: 6022103
Lines Changed:  +167,  -28
1 Added Path:
/source/blender/blenlib/tests/BLI_math_rotation_test.cc (+128, -0)  (View)


 Master Commits
 Master Commits MiikaHweb | 2003-2021
MiikaHweb | 2003-2021