diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/operations/COM_EllipseMaskOperation.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/compositor/operations/COM_EllipseMaskOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_EllipseMaskOperation.h | 61 |
1 files changed, 33 insertions, 28 deletions
diff --git a/source/blender/compositor/operations/COM_EllipseMaskOperation.h b/source/blender/compositor/operations/COM_EllipseMaskOperation.h index 6f5b6e3e25d..b73a35a5452 100644 --- a/source/blender/compositor/operations/COM_EllipseMaskOperation.h +++ b/source/blender/compositor/operations/COM_EllipseMaskOperation.h @@ -20,42 +20,47 @@ #define __COM_ELLIPSEMASKOPERATION_H__ #include "COM_NodeOperation.h" - class EllipseMaskOperation : public NodeOperation { -private: - /** - * Cached reference to the inputProgram - */ - SocketReader *m_inputMask; - SocketReader *m_inputValue; + private: + /** + * Cached reference to the inputProgram + */ + SocketReader *m_inputMask; + SocketReader *m_inputValue; - float m_sine; - float m_cosine; - float m_aspectRatio; - int m_maskType; + float m_sine; + float m_cosine; + float m_aspectRatio; + int m_maskType; - NodeEllipseMask *m_data; -public: - EllipseMaskOperation(); + NodeEllipseMask *m_data; - /** - * the inner loop of this program - */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); + public: + EllipseMaskOperation(); - /** - * Initialize the execution - */ - void initExecution(); + /** + * the inner loop of this program + */ + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); - /** - * Deinitialize the execution - */ - void deinitExecution(); + /** + * Initialize the execution + */ + void initExecution(); - void setData(NodeEllipseMask *data) { this->m_data = data; } + /** + * Deinitialize the execution + */ + void deinitExecution(); - void setMaskType(int maskType) { this->m_maskType = maskType; } + void setData(NodeEllipseMask *data) + { + this->m_data = data; + } + void setMaskType(int maskType) + { + this->m_maskType = maskType; + } }; #endif |