diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-06 20:23:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-06 20:23:28 +0400 |
commit | 3d1e45c414f81a690ad33e1ee4feacbf313c45b0 (patch) | |
tree | 8aaf9507e46a31d035089880eee76b3affc9a158 /source/blender/nodes/texture/nodes/node_texture_proc.c | |
parent | b05ee8b65f453d97edb4dbe59fac5c996fbf78d2 (diff) |
replace macros with bli math functions for nodes
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_proc.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_proc.c b/source/blender/nodes/texture/nodes/node_texture_proc.c index d9ac8700be1..3012d313db5 100644 --- a/source/blender/nodes/texture/nodes/node_texture_proc.c +++ b/source/blender/nodes/texture/nodes/node_texture_proc.c @@ -75,10 +75,10 @@ static void do_proc(float *result, TexParams *p, float *col1, float *col2, char return; if(textype & TEX_RGB) { - QUATCOPY(result, &texres.tr); + copy_v4_v4(result, &texres.tr); } else { - QUATCOPY(result, col1); + copy_v4_v4(result, col1); ramp_blend(MA_RAMP_BLEND, result, result+1, result+2, texres.tin, col2); } } |