Blender Git Loki
Git Commits -> Revision ee9a009
Revision ee9a009 by Campbell Barton (master) March 14, 2012, 06:14 (GMT) |
mathutils py api: Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit. |
Commit Details:
Full Hash: ee9a00948b950f8361ef280b5f88674721a6698f
SVN Revision: 44863
Parent Commit: f15c15e
Lines Changed: +92, -25
6 Modified Paths:
/source/blender/blenlib/BLI_math_vector.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+18, -23) (Diff)
/source/blender/blenlib/intern/math_vector.c (+6, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+6, -0) (Diff)
/source/blender/python/bmesh/bmesh_py_select.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+60, -1) (Diff)
/source/blender/blenlib/intern/math_geom.c (+18, -23) (Diff)
/source/blender/blenlib/intern/math_vector.c (+6, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+6, -0) (Diff)
/source/blender/python/bmesh/bmesh_py_select.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+60, -1) (Diff)