style cleanup

This commit is contained in:
2012-09-08 06:40:03 +00:00
parent c95d4f68b8
commit a9f10b6bc2
9 changed files with 42 additions and 17 deletions

View File

@@ -164,7 +164,10 @@
#endif
#ifndef CLAMP
# define CLAMP(a, b, c) if ((a) < (b)) (a) = (b); else if ((a) > (c)) (a) = (c)
# define CLAMP(a, b, c) { \
if ((a) < (b)) (a) = (b); \
else if ((a) > (c)) (a) = (c); \
} (void)0
#endif
#ifdef __BLI_MATH_INLINE_H__