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_MapUVOperation.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_MapUVOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MapUVOperation.h | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/source/blender/compositor/operations/COM_MapUVOperation.h b/source/blender/compositor/operations/COM_MapUVOperation.h index b2235d4de25..64e17b180b4 100644 --- a/source/blender/compositor/operations/COM_MapUVOperation.h +++ b/source/blender/compositor/operations/COM_MapUVOperation.h @@ -20,46 +20,50 @@ #define __COM_MAPUVOPERATION_H__ #include "COM_NodeOperation.h" - class MapUVOperation : public NodeOperation { -private: - /** - * Cached reference to the inputProgram - */ - SocketReader *m_inputUVProgram; - SocketReader *m_inputColorProgram; + private: + /** + * Cached reference to the inputProgram + */ + SocketReader *m_inputUVProgram; + SocketReader *m_inputColorProgram; - float m_alpha; + float m_alpha; -public: - MapUVOperation(); + public: + MapUVOperation(); - /** - * we need a 3x3 differential filter for UV Input and full buffer for the image - */ - bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output); + /** + * we need a 3x3 differential filter for UV Input and full buffer for the image + */ + bool determineDependingAreaOfInterest(rcti *input, + ReadBufferOperation *readOperation, + rcti *output); - /** - * the inner loop of this program - */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); + /** + * the inner loop of this program + */ + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); - void pixelTransform(const float xy[2], float r_uv[2], float r_deriv[2][2], float &r_alpha); + void pixelTransform(const float xy[2], float r_uv[2], float r_deriv[2][2], float &r_alpha); - /** - * Initialize the execution - */ - void initExecution(); + /** + * Initialize the execution + */ + void initExecution(); - /** - * Deinitialize the execution - */ - void deinitExecution(); + /** + * Deinitialize the execution + */ + void deinitExecution(); - void setAlpha(float alpha) { this->m_alpha = alpha; } + void setAlpha(float alpha) + { + this->m_alpha = alpha; + } -private: - bool read_uv(float x, float y, float &r_u, float &r_v, float &r_alpha); + private: + bool read_uv(float x, float y, float &r_u, float &r_v, float &r_alpha); }; #endif |