summaryrefslogtreecommitdiff
path: root/indra/llmath/tests/llbbox_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmath/tests/llbbox_test.cpp')
-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 8064ab217d..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((a),(b)) < 1e-5
+#define APPROX_EQUAL(a, b) (dist_vec_squared((a),(b)) < 1e-10)
namespace tut
{