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_SetVectorOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_SetVectorOperation.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_SetVectorOperation.cpp b/source/blender/compositor/operations/COM_SetVectorOperation.cpp
index 29407df55e5..d3a0329c9b9 100644
--- a/source/blender/compositor/operations/COM_SetVectorOperation.cpp
+++ b/source/blender/compositor/operations/COM_SetVectorOperation.cpp
@@ -21,20 +21,22 @@
SetVectorOperation::SetVectorOperation() : NodeOperation()
{
- this->addOutputSocket(COM_DT_VECTOR);
+ this->addOutputSocket(COM_DT_VECTOR);
}
void SetVectorOperation::executePixelSampled(float output[4],
- float /*x*/, float /*y*/,
+ float /*x*/,
+ float /*y*/,
PixelSampler /*sampler*/)
{
- output[0] = this->m_x;
- output[1] = this->m_y;
- output[2] = this->m_z;
+ output[0] = this->m_x;
+ output[1] = this->m_y;
+ output[2] = this->m_z;
}
-void SetVectorOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void SetVectorOperation::determineResolution(unsigned int resolution[2],
+ unsigned int preferredResolution[2])
{
- resolution[0] = preferredResolution[0];
- resolution[1] = preferredResolution[1];
+ resolution[0] = preferredResolution[0];
+ resolution[1] = preferredResolution[1];
}