diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 12:20:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 12:20:32 +0400 |
commit | 49d3766ceb17082fd64cdc0f01224237f1098564 (patch) | |
tree | 060e3303a7fc4876dd5ba7521705de5ee499077c /source/blender/compositor/operations/COM_ColorCurveOperation.h | |
parent | 77f47799ddff99da672aa58e5d989237403e7707 (diff) |
code cleanup: use math functions for curve compo code.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorCurveOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorCurveOperation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCurveOperation.h b/source/blender/compositor/operations/COM_ColorCurveOperation.h index 063873c6443..7dc1913b85a 100644 --- a/source/blender/compositor/operations/COM_ColorCurveOperation.h +++ b/source/blender/compositor/operations/COM_ColorCurveOperation.h @@ -82,8 +82,8 @@ public: */ void deinitExecution(); - void setBlackLevel(float black[3]) { this->m_black[0] = black[0]; this->m_black[1] = black[1]; this->m_black[2] = black[2]; } - void setWhiteLevel(float white[3]) { this->m_white[0] = white[0]; this->m_white[1] = white[1]; this->m_white[2] = white[2]; } + void setBlackLevel(float black[3]) { copy_v3_v3(this->m_black, black); } + void setWhiteLevel(float white[3]) { copy_v3_v3(this->m_white, white); } }; #endif |