mathutils py api:
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 Mar 2012 06:14:15 +0000 (06:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 Mar 2012 06:14:15 +0000 (06:14 +0000)
commitee9a00948b950f8361ef280b5f88674721a6698f
treef75025f04750f530692baf00cc924bbb57d4f5f2
parentf15c15e992a9836a7295166af275522690ada315
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.
source/blender/blenlib/BLI_math_vector.h
source/blender/blenlib/intern/math_geom.c
source/blender/blenlib/intern/math_vector.c
source/blender/blenlib/intern/math_vector_inline.c
source/blender/python/bmesh/bmesh_py_select.c
source/blender/python/mathutils/mathutils_Vector.c