summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-12 12:25:30 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-12 12:25:30 -0700
commit3eb460f772e8a1cf45d53ed1d06206bfd74a780a (patch)
treedde6f157bcdde6ce5b4010f49e962d404451d1da /indra/newview/llvovolume.cpp
parent88553c9eb1aee59d092cbd73c64da82497fd095f (diff)
Remove NaN guards from vopartgroup and volume code
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-xindra/newview/llvovolume.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 8962d7cadf..e74d2d4b98 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3751,8 +3751,6 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a&
{
*normal = n;
}
- // guard against NaNs in normalize below
- llassert(normal->dot3(*normal).getF32() > F_APPROXIMATELY_ZERO);
(*normal).normalize3fast();
}
@@ -3775,8 +3773,6 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a&
{
*tangent = tn;
}
- // guard against NaNs in normalize below
- llassert(tangent->dot3(*tangent).getF32() > F_APPROXIMATELY_ZERO);
(*tangent).normalize3fast();
}