Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:04 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commita2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch)
treed409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_SetColorOperation.h
parentea79efef70da14100b591b50dcada819808f20b6 (diff)
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_SetColorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_SetColorOperation.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/compositor/operations/COM_SetColorOperation.h b/source/blender/compositor/operations/COM_SetColorOperation.h
index b529d245091..ad30c1d820d 100644
--- a/source/blender/compositor/operations/COM_SetColorOperation.h
+++ b/source/blender/compositor/operations/COM_SetColorOperation.h
@@ -28,7 +28,7 @@ namespace blender::compositor {
*/
class SetColorOperation : public ConstantOperation {
private:
- float m_color[4];
+ float color_[4];
public:
/**
@@ -38,44 +38,44 @@ class SetColorOperation : public ConstantOperation {
const float *get_constant_elem() override
{
- return m_color;
+ return color_;
}
float getChannel1()
{
- return m_color[0];
+ return color_[0];
}
void setChannel1(float value)
{
- m_color[0] = value;
+ color_[0] = value;
}
float getChannel2()
{
- return m_color[1];
+ return color_[1];
}
void setChannel2(float value)
{
- m_color[1] = value;
+ color_[1] = value;
}
float getChannel3()
{
- return m_color[2];
+ return color_[2];
}
void setChannel3(float value)
{
- m_color[2] = value;
+ color_[2] = value;
}
float getChannel4()
{
- return m_color[3];
+ return color_[3];
}
void setChannel4(const float value)
{
- m_color[3] = value;
+ color_[3] = value;
}
void setChannels(const float value[4])
{
- copy_v4_v4(m_color, value);
+ copy_v4_v4(color_, value);
}
/**