Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 19:25:50 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 19:39:50 +0300
commit28324143c4ce657c4de773c8363b93b27625243e (patch)
tree3b1ca0b83f38038a6c4e9ea12fe054d776b36c41 /source/blender/blenlib/intern
parent99fa874c858dbbe10be70d3be03ad337780c1ec0 (diff)
UI: draw mono icons with button type text color, instead of area text color.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/math_vector_inline.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c
index c4535eacefa..297fa9479da 100644
--- a/source/blender/blenlib/intern/math_vector_inline.c
+++ b/source/blender/blenlib/intern/math_vector_inline.c
@@ -459,6 +459,14 @@ MINLINE void mul_v4_fl(float r[4], float f)
r[3] *= f;
}
+MINLINE void mul_v4_v4(float r[4], const float a[4])
+{
+ r[0] *= a[0];
+ r[1] *= a[1];
+ r[2] *= a[2];
+ r[3] *= a[3];
+}
+
MINLINE void mul_v4_v4fl(float r[4], const float a[4], float f)
{
r[0] = a[0] * f;