diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-17 16:45:59 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-17 16:56:17 +0300 |
commit | 0c987aa7ac3a62aafbaaeb55c6e096b043d0b8cd (patch) | |
tree | 557528781a159b02f2865fa9d6e1076c0b0312bc /source/blender/blenlib/BLI_math_vector.h | |
parent | b4640ea02081f20f599d881d119564d5f6d53f83 (diff) |
BLI: Math: Add normal_float_to_short_v4
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index 9613847f28f..a663d08b074 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -338,6 +338,7 @@ void print_vn(const char *str, const float v[], const int n); MINLINE void normal_float_to_short_v2(short r[2], const float n[2]); MINLINE void normal_short_to_float_v3(float r[3], const short n[3]); MINLINE void normal_float_to_short_v3(short r[3], const float n[3]); +MINLINE void normal_float_to_short_v4(short r[4], const float n[4]); void minmax_v3v3_v3(float min[3], float max[3], const float vec[3]); void minmax_v2v2_v2(float min[2], float max[2], const float vec[2]); |