diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-31 15:57:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-31 15:57:09 +0400 |
commit | ceea98be2f54ed72691a130ea8eed613726e4521 (patch) | |
tree | 6af6f1353ecad62c68d586529ba144ac488bc33f /source/blender/blenlib/BLI_math_vector.h | |
parent | 31a94e400397c528f230d2c578176175b2f731f7 (diff) |
math lib changes from tomato
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index 374da46a686..7ff52a5824f 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -228,8 +228,12 @@ void mul_vn_fl(float *array_tar, const int size, const float f); void mul_vn_vn_fl(float *array_tar, const float *array_src, const int size, const float f); void add_vn_vn(float *array_tar, const float *array_src, const int size); void add_vn_vnvn(float *array_tar, const float *array_src_a, const float *array_src_b, const int size); +void madd_vn_vn(float *array_tar, const float *array_src, const float f, const int size); +void madd_vn_vnvn(float *array_tar, const float *array_src_a, const float *array_src_b, const float f, const int size); void sub_vn_vn(float *array_tar, const float *array_src, const int size); void sub_vn_vnvn(float *array_tar, const float *array_src_a, const float *array_src_b, const int size); +void msub_vn_vn(float *array_tar, const float *array_src, const float f, const int size); +void msub_vn_vnvn(float *array_tar, const float *array_src_a, const float *array_src_b, const float f, const int size); void fill_vn_i(int *array_tar, const int size, const int val); void fill_vn_ushort(unsigned short *array_tar, const int size, const unsigned short val); void fill_vn_fl(float *array_tar, const int size, const float val); |