diff options
author | Andrew Hale <TrumanBlending@gmail.com> | 2018-08-09 01:10:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-09 01:14:38 +0300 |
commit | 3aee3bbac7317d205b611b9aa713791f17104556 (patch) | |
tree | 5084f0ba63af78eb0c9da49d4f8f84ed25e7f01d /source/blender/blenlib/BLI_math_vector.h | |
parent | 440ef4235ff0b7a67de978d790bf923c04badabe (diff) |
Math Lib: varied size vector multiply
Needed for Python mathutils elementwise multiply.
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index 39625346756..59c9341f75c 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -354,6 +354,8 @@ void range_vn_u(unsigned int *array_tar, const int size, const unsigned int star void range_vn_fl(float *array_tar, const int size, const float start, const float step); void negate_vn(float *array_tar, const int size); void negate_vn_vn(float *array_tar, const float *array_src, const int size); +void mul_vn_vn(float *array_tar, const float *array_src, const int size); +void mul_vn_vnvn(float *array_tar, const float *array_src_a, const float *array_src_b, const int size); 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); |