diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:01:15 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | 1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch) | |
tree | 68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_EllipseMaskOperation.h | |
parent | a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (diff) |
Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and
use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_EllipseMaskOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_EllipseMaskOperation.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/compositor/operations/COM_EllipseMaskOperation.h b/source/blender/compositor/operations/COM_EllipseMaskOperation.h index ec6fb4624f7..7a6f96ab1b1 100644 --- a/source/blender/compositor/operations/COM_EllipseMaskOperation.h +++ b/source/blender/compositor/operations/COM_EllipseMaskOperation.h @@ -27,15 +27,15 @@ class EllipseMaskOperation : public MultiThreadedOperation { using MaskFunc = std::function<float(bool is_inside, const float *mask, const float *value)>; /** - * Cached reference to the inputProgram + * Cached reference to the input_program */ - SocketReader *inputMask_; - SocketReader *inputValue_; + SocketReader *input_mask_; + SocketReader *input_value_; float sine_; float cosine_; - float aspectRatio_; - int maskType_; + float aspect_ratio_; + int mask_type_; NodeEllipseMask *data_; @@ -45,26 +45,26 @@ class EllipseMaskOperation : public MultiThreadedOperation { /** * The inner loop of this operation. */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; + void execute_pixel_sampled(float output[4], float x, float y, PixelSampler sampler) override; /** * Initialize the execution */ - void initExecution() override; + void init_execution() override; /** * Deinitialize the execution */ - void deinitExecution() override; + void deinit_execution() override; - void setData(NodeEllipseMask *data) + void set_data(NodeEllipseMask *data) { data_ = data; } - void setMaskType(int maskType) + void set_mask_type(int mask_type) { - maskType_ = maskType; + mask_type_ = mask_type; } void update_memory_buffer_partial(MemoryBuffer *output, |