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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
commitbde7e6c96b9e180b293ee6e49ab813a30fac0635 (patch)
treecf9f09aa0b3bb0528553546674269f0e5e96bd93 /source/blender/compositor/operations/COM_SetVectorOperation.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/operations/COM_SetVectorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_SetVectorOperation.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/compositor/operations/COM_SetVectorOperation.h b/source/blender/compositor/operations/COM_SetVectorOperation.h
index 9b5dd3ce674..49088027762 100644
--- a/source/blender/compositor/operations/COM_SetVectorOperation.h
+++ b/source/blender/compositor/operations/COM_SetVectorOperation.h
@@ -26,9 +26,9 @@
/**
- * this program converts an input colour to an output value.
- * it assumes we are in sRGB colour space.
- */
+ * this program converts an input colour to an output value.
+ * it assumes we are in sRGB colour space.
+ */
class SetVectorOperation : public NodeOperation {
private:
float x;
@@ -38,26 +38,26 @@ private:
public:
/**
- * Default constructor
- */
+ * Default constructor
+ */
SetVectorOperation();
- const float getX() {return this->x;}
- void setX(float value) {this->x = value;}
- const float getY() {return this->y;}
- void setY(float value) {this->y = value;}
- const float getZ() {return this->z;}
- void setZ(float value) {this->z = value;}
- const float getW() {return this->w;}
- void setW(float value) {this->w = value;}
+ const float getX() { return this->x; }
+ void setX(float value) { this->x = value; }
+ const float getY() { return this->y; }
+ void setY(float value) { this->y = value; }
+ const float getZ() { return this->z; }
+ void setZ(float value) { this->z = value; }
+ const float getW() { return this->w; }
+ void setW(float value) { this->w = value; }
/**
- * the inner loop of this program
- */
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ * the inner loop of this program
+ */
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]);
- const bool isSetOperation() const {return true;}
+ const bool isSetOperation() const { return true; }
void setVector(float vector[3]) {
setX(vector[0]);