summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolumeoctree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmath/llvolumeoctree.cpp')
-rw-r--r--indra/llmath/llvolumeoctree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmath/llvolumeoctree.cpp b/indra/llmath/llvolumeoctree.cpp
index 12fe90f35d..cb6211f63c 100644
--- a/indra/llmath/llvolumeoctree.cpp
+++ b/indra/llmath/llvolumeoctree.cpp
@@ -223,14 +223,14 @@ void LLVolumeOctreeValidate::visit(const LLOctreeNode<LLVolumeTriangle>* branch)
test_min.setSub(center, size);
test_max.setAdd(center, size);
- if (!test_min.equals3(min) ||
- !test_max.equals3(max))
+ if (!test_min.equals3(min, 0.001f) ||
+ !test_max.equals3(max, 0.001f))
{
llerrs << "Bad bounding box data found." << llendl;
}
- test_min.sub(LLVector4a::getEpsilon());
- test_max.add(LLVector4a::getEpsilon());
+ test_min.sub(LLVector4a(0.001f));
+ test_max.add(LLVector4a(0.001f));
for (U32 i = 0; i < branch->getChildCount(); ++i)
{