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:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2008-07-22 16:02:57 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2008-07-22 16:02:57 +0400
commitaec6b78deda32d7aa1631ec76efda5bcea83a8c9 (patch)
tree789a1bf4ac15a3793fbe88874853282cb97f1083 /source/blender/blenlib
parent06f67dd53178d3729f9b30d018d1a0715287b825 (diff)
svn merge -r 15590:15688 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/arithb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c
index dd9c76d9172..a31c769a5b3 100644
--- a/source/blender/blenlib/intern/arithb.c
+++ b/source/blender/blenlib/intern/arithb.c
@@ -59,6 +59,7 @@
/* A few small defines. Keep'em local! */
#define SMALL_NUMBER 1.e-8
+#define CLAMP(a, b, c) if((a)<(b)) (a)=(b); else if((a)>(c)) (a)=(c)
#if defined(WIN32) || defined(__APPLE__)