summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-06-13 14:38:51 -0500
committerDave Parks <davep@lindenlab.com>2013-06-13 14:38:51 -0500
commit7b28a9a541464ece86e6d09fe7a85f307a710ddb (patch)
tree0d4173aaf46b0f0478dd2f3838d4fe353edc9b30 /indra/llmath/llvolume.cpp
parentdc6ec6ee151905a8d1fbcf9da1ba2ddc7729081b (diff)
Remove some now useless assertions.
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rwxr-xr-xindra/llmath/llvolume.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 1932272afb..a8f4c52c5c 100755
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -7299,14 +7299,6 @@ void CalculateTangentArray(U32 vertexCount, const LLVector4a *vertex, const LLVe
tsubn.getF32ptr()[3] = handedness;
tangent[a] = tsubn;
-
- llassert(llfinite(tangent[a].getF32ptr()[0]));
- llassert(llfinite(tangent[a].getF32ptr()[1]));
- llassert(llfinite(tangent[a].getF32ptr()[2]));
-
- llassert(!llisnan(tangent[a].getF32ptr()[0]));
- llassert(!llisnan(tangent[a].getF32ptr()[1]));
- llassert(!llisnan(tangent[a].getF32ptr()[2]));
}
else
{ //degenerate, make up a value