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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-02-04 11:04:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-02-04 11:04:09 +0300
commitd16ac1e152a3b7ec7807698b3622056e6951ccd5 (patch)
tree902f0ceb93040febfc012aefbd367a84c8717da4 /source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
parent1dddcfbaff14ff2871918b044714c87c7024e589 (diff)
Compositor: Code cleanup, trailing whitespace and wrapping
Diffstat (limited to 'source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
index 6ceb476f5f9..fc5dd1ff7d8 100644
--- a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
+++ b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.h
@@ -64,7 +64,9 @@ public:
BLI_assert(samples <= PLANE_DISTORT_MAX_SAMPLES);
this->m_motion_blur_samples = samples;
}
- void setMotionBlurShutter(float shutter) { this->m_motion_blur_shutter = shutter; }
+ void setMotionBlurShutter(float shutter) {
+ this->m_motion_blur_shutter = shutter;
+ }
};
@@ -81,20 +83,22 @@ protected:
public:
PlaneDistortMaskOperation();
-
+
void calculateCorners(const float corners[4][2],
bool normalized,
int sample);
-
+
void initExecution();
-
+
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
void setMotionBlurSamples(int samples) {
BLI_assert(samples <= PLANE_DISTORT_MAX_SAMPLES);
this->m_motion_blur_samples = samples;
}
- void setMotionBlurShutter(float shutter) { this->m_motion_blur_shutter = shutter; }
+ void setMotionBlurShutter(float shutter) {
+ this->m_motion_blur_shutter = shutter;
+ }
};
#endif