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_GlareGhostOperation.cc | |
parent | 9975af5ffa7566ff7542620c48c11f7687b9c42b (diff) |
Cleanup: Add namespace to compositor.
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareGhostOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_GlareGhostOperation.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_GlareGhostOperation.cc b/source/blender/compositor/operations/COM_GlareGhostOperation.cc index a4cd6dc60c1..c843a673ec0 100644 --- a/source/blender/compositor/operations/COM_GlareGhostOperation.cc +++ b/source/blender/compositor/operations/COM_GlareGhostOperation.cc @@ -20,6 +20,8 @@ #include "BLI_math.h" #include "COM_FastGaussianBlurOperation.h" +namespace blender::compositor { + static float smoothMask(float x, float y) { float t; @@ -153,3 +155,5 @@ void GlareGhostOperation::generateGlare(float *data, MemoryBuffer *inputTile, No gbuf.getBuffer(), gbuf.getWidth() * gbuf.getHeight() * COM_NUM_CHANNELS_COLOR * sizeof(float)); } + +} // namespace blender::compositor |