summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorRicky Curtice <kf6kjg+hg@gmail.com>2011-04-04 10:24:43 -0700
committerRicky Curtice <kf6kjg+hg@gmail.com>2011-04-04 10:24:43 -0700
commitca186a64014942540baaf280bb3967d2582336bd (patch)
tree79652ec5884e16cfeeaa67ad58626e626ea8c0d8 /indra/llmath
parent9bac314ba0d8b6bd35c8d2e27ce99a28b924dea6 (diff)
Parenthisized a #define to make it safer, adjusted some notes (and added a TODO) around some extremely obscure code that needs further attention but which is outside this scope.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/tests/llbbox_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/tests/llbbox_test.cpp b/indra/llmath/tests/llbbox_test.cpp
index b9e1d29cd7..fd0dbb58fc 100644
--- a/indra/llmath/tests/llbbox_test.cpp
+++ b/indra/llmath/tests/llbbox_test.cpp
@@ -34,7 +34,7 @@
#define ANGLE (3.14159265f / 2.0f)
-#define APPROX_EQUAL(a, b) dist_vec_squared((a),(b)) < 1e-10
+#define APPROX_EQUAL(a, b) (dist_vec_squared((a),(b)) < 1e-10)
namespace tut
{