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_PlaneDistortCommonOperation.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_PlaneDistortCommonOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
index 7b863d562ab..e9880624ebf 100644
--- a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
+++ b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
@@ -38,9 +38,9 @@ class PlaneDistortBaseOperation : public MultiThreadedOperation {
float frameSpaceCorners[4][2]; /* Corners coordinates in pixel space. */
float perspectiveMatrix[3][3];
};
- MotionSample m_samples[PLANE_DISTORT_MAX_SAMPLES];
- int m_motion_blur_samples;
- float m_motion_blur_shutter;
+ MotionSample samples_[PLANE_DISTORT_MAX_SAMPLES];
+ int motion_blur_samples_;
+ float motion_blur_shutter_;
public:
PlaneDistortBaseOperation();
@@ -48,11 +48,11 @@ class PlaneDistortBaseOperation : public MultiThreadedOperation {
void setMotionBlurSamples(int samples)
{
BLI_assert(samples <= PLANE_DISTORT_MAX_SAMPLES);
- m_motion_blur_samples = samples;
+ motion_blur_samples_ = samples;
}
void setMotionBlurShutter(float shutter)
{
- m_motion_blur_shutter = shutter;
+ motion_blur_shutter_ = shutter;
}
virtual void calculateCorners(const float corners[4][2], bool normalized, int sample);
@@ -63,7 +63,7 @@ class PlaneDistortBaseOperation : public MultiThreadedOperation {
class PlaneDistortWarpImageOperation : public PlaneDistortBaseOperation {
protected:
- SocketReader *m_pixelReader;
+ SocketReader *pixelReader_;
public:
PlaneDistortWarpImageOperation();
@@ -87,8 +87,8 @@ class PlaneDistortWarpImageOperation : public PlaneDistortBaseOperation {
class PlaneDistortMaskOperation : public PlaneDistortBaseOperation {
protected:
- int m_osa;
- float m_jitter[32][2];
+ int osa_;
+ float jitter_[32][2];
public:
PlaneDistortMaskOperation();