make asserts that check for unit length vectors into a macro.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 19 Feb 2013 13:15:34 +0000 (13:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 19 Feb 2013 13:15:34 +0000 (13:15 +0000)
commitf7848569063386b5925cb692652b584ea8765572
tree9281014985ef7dedd71b95a7abeff03bf50b833d
parent0528162eb691e9d0de39b5f72c427a4d96542f64
make asserts that check for unit length vectors into a macro.
this was really not nice logic to try to fit into an assert.
source/blender/blenlib/BLI_math_base.h
source/blender/blenlib/intern/math_geom.c
source/blender/blenlib/intern/math_vector.c