Math Lib:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 22 Jan 2010 11:10:24 +0000 (11:10 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 22 Jan 2010 11:10:24 +0000 (11:10 +0000)
commit8ec59c7c687b9e50c48a9d455b31ff4c01df69d2
tree32bf65aad65475c5dd9aeefa9067eba21e7324fb
parent2d2339a70992b819a23e8c71f68027022b395f46
Math Lib:

* inline some more functions, from math_base and math_vector
* also made some changes to the way inline is done so it can
  work for more than one file
* reflect_v3_v3v3 requires input vectors to be normalized now.
* added rgb_to_grayscale
* added zero_v4, copy_v4_v4, swap_v4_v4, is_one_v3
* added box_clip_bounds_m4 to clip a bounding box against a
  projection matrix
13 files changed:
source/blender/blenlib/BLI_math_base.h
source/blender/blenlib/BLI_math_color.h
source/blender/blenlib/BLI_math_geom.h
source/blender/blenlib/BLI_math_inline.h [new file with mode: 0644]
source/blender/blenlib/BLI_math_vector.h
source/blender/blenlib/intern/gsqueue.c
source/blender/blenlib/intern/math_base.c
source/blender/blenlib/intern/math_base_inline.c [new file with mode: 0644]
source/blender/blenlib/intern/math_color.c
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/generic/vector.c