Blender Git Commit Log

Git Commits -> Revision 2bb9d54

Revision 2bb9d54 by Brecht Van Lommel (master)
November 18, 2006, 23:07 (GMT)

Fix for bug #5250: inaccurate conversion between edit and pose mode bones.

Using acos(dot(u, v)) to find the angle between two vectors is quite
inaccurate, and there's a better way to do it, as explained here:
http://www.plunk.org/~hatch/rightway.php

Also changed the use of atan for computing roll to atan2 in some places,
the latter avoids accuracy and division by zero issues.

Commit Details:

Full Hash: 2bb9d5471e1c43ebb1ec805648536edac9f78105
SVN Revision: 8949
Parent Commit: 904dfcc
Lines Changed: +46, -16

5 Modified Paths:

/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenlib/BLI_arithb.h (+9, -0) (Diff)
/source/blender/blenlib/intern/arithb.c (+27, -4) (Diff)
/source/blender/python/api2_2x/Bone.c (+1, -1) (Diff)
/source/blender/src/editarmature.c (+7, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021