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:
authorKent Mein <mein@cs.umn.edu>2004-12-13 16:51:35 +0300
committerKent Mein <mein@cs.umn.edu>2004-12-13 16:51:35 +0300
commit021087de453c2b9591a63259fcb03113f012dae8 (patch)
tree5d58e117540b83da37295f659cefd07574d12ccc /source/blender/blenpluginapi
parent551806bce89c142ac731651637dc9f240d9c2302 (diff)
STEP macro was a typo waiting to happen.
Fix done by LetterRip. Kent
Diffstat (limited to 'source/blender/blenpluginapi')
-rw-r--r--source/blender/blenpluginapi/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenpluginapi/util.h b/source/blender/blenpluginapi/util.h
index b62ea47a02e..da566bf3969 100644
--- a/source/blender/blenpluginapi/util.h
+++ b/source/blender/blenpluginapi/util.h
@@ -76,7 +76,7 @@
#define ABS(x) ((x) < 0 ? -(x) : (x))
#define FLOOR(x) ((int)(x) - ((x) < 0 && (x) != (int)(x)))
#define CEIL(x) ((int)(x) + ((x) > 0 && (x) != (int)(x)))
-#define STEP(a,b) ((a)>(b)) (1) : (0))
+#define STEP(a,b) ( (a)>(b) ? (1) : (0) )
#define CLAMP(val, low, high) ((val>high)?high:((val<low)?low:val))
#define LERP(t,x0,x1) ((x0) + (t)*((x1)-(x0)))
#define PULSE(a,b,x) (STEP((a),(x)) - STEP((b),(x)))