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:
Diffstat (limited to 'source/blender/compositor/operations/COM_WrapOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_WrapOperation.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/source/blender/compositor/operations/COM_WrapOperation.h b/source/blender/compositor/operations/COM_WrapOperation.h
index 2e25cbd552d..6360fa0c246 100644
--- a/source/blender/compositor/operations/COM_WrapOperation.h
+++ b/source/blender/compositor/operations/COM_WrapOperation.h
@@ -22,18 +22,21 @@
#include "COM_ReadBufferOperation.h"
class WrapOperation : public ReadBufferOperation {
-private:
- int m_wrappingType;
-public:
- WrapOperation(DataType datetype);
- bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ private:
+ int m_wrappingType;
- void setWrapping(int wrapping_type);
- float getWrappedOriginalXPos(float x);
- float getWrappedOriginalYPos(float y);
+ public:
+ WrapOperation(DataType datetype);
+ bool determineDependingAreaOfInterest(rcti *input,
+ ReadBufferOperation *readOperation,
+ rcti *output);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
- void setFactorXY(float factorX, float factorY);
+ void setWrapping(int wrapping_type);
+ float getWrappedOriginalXPos(float x);
+ float getWrappedOriginalYPos(float y);
+
+ void setFactorXY(float factorX, float factorY);
};
#endif