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-05-18 02:55:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-18 02:55:28 +0400
commit7862b2fa13c0437d9c17eae78e7b79a421dacf05 (patch)
tree08f9c26af3e71795d0f65803a415b5612d6b53ab /source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp
parent69b95e1a8a00c9ff146d803b8ec11183d7a68908 (diff)
style cleanup: compositor, pointer syntax, function brace placement, line length
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp b/source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp
index ce3fd82acf0..602e18521ee 100644
--- a/source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp
+++ b/source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp
@@ -22,14 +22,15 @@
#include "COM_GlareSimpleStarOperation.h"
-void GlareSimpleStarOperation::generateGlare(float *data, MemoryBuffer *inputTile, NodeGlare *settings) {
+void GlareSimpleStarOperation::generateGlare(float *data, MemoryBuffer *inputTile, NodeGlare *settings)
+{
int i, x, y, ym, yp, xm, xp;
float c[4] = {0,0,0,0}, tc[4] = {0,0,0,0};
const float f1 = 1.f - settings->fade, f2 = (1.f - f1)*0.5f;
- MemoryBuffer* tbuf1 = inputTile->duplicate();
- MemoryBuffer* tbuf2 = inputTile->duplicate();
+ MemoryBuffer *tbuf1 = inputTile->duplicate();
+ MemoryBuffer *tbuf2 = inputTile->duplicate();
for (i=0; i<settings->iter; i++) {
// // (x || x-1, y-1) to (x || x+1, y+1)