Blender Git Commit Log

Git Commits -> Revision 049811d

Revision 049811d by Campbell Barton (master)
August 25, 2012, 12:32 (GMT)
don't use a while loop when in compatible_eul(). this is a low level rotation function called in many places so better to avoid iterations.

checked this function against the previous method using random rotation inputs and compared results, while this isnt exactly the same the results are very close and acceptable in both cases, also checked baking actions that the resulting FCurves are good and give matching rotations.

Commit Details:

Full Hash: 049811dabd87de6a6cb044cfe0730bb99c5583e1
SVN Revision: 50198
Parent Commit: 043783c
Lines Changed: +28, -66

1 Modified Path:

/source/blender/blenlib/intern/math_rotation.c (+28, -66) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021