diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-23 19:12:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 09:18:33 +0300 |
commit | 25c02ea703f90709625f34bb7c3f9e18be7dd58c (patch) | |
tree | ebf35ce9267b4e05b53a4f4d699bedbbf28905b9 /source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc | |
parent | 9975af5ffa7566ff7542620c48c11f7687b9c42b (diff) |
Cleanup: Add namespace to compositor.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc b/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc index b21e453699b..d1d3752e402 100644 --- a/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc +++ b/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cc @@ -19,6 +19,8 @@ #include "COM_ColorBalanceASCCDLOperation.h" #include "BLI_math.h" +namespace blender::compositor { + inline float colorbalance_cdl(float in, float offset, float power, float slope) { float x = in * slope + offset; @@ -79,3 +81,5 @@ void ColorBalanceASCCDLOperation::deinitExecution() this->m_inputValueOperation = nullptr; this->m_inputColorOperation = nullptr; } + +} // namespace blender::compositor |