summaryrefslogtreecommitdiff
path: root/indra/llmath/m4math.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-09-29 14:16:58 -0700
committerRider Linden <rider@lindenlab.com>2015-09-29 14:16:58 -0700
commit2fe0c321095a8a97ad8d9033430f8cbd4ceddd14 (patch)
tree47f6552b8279e009aa0d6fe5f0310b4926e14601 /indra/llmath/m4math.h
parent83836d91178235e5c188020ac57c9a296343e83b (diff)
parent2d52b62e67cf46222396c724d00d2de874819197 (diff)
DRTVWR-409: merge DRTVWR-368
Diffstat (limited to 'indra/llmath/m4math.h')
-rwxr-xr-xindra/llmath/m4math.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmath/m4math.h b/indra/llmath/m4math.h
index a7dce10397..a77c5bc76d 100755
--- a/indra/llmath/m4math.h
+++ b/indra/llmath/m4math.h
@@ -180,6 +180,11 @@ public:
const LLMatrix4& setTranslation(const LLVector4 &translation);
const LLMatrix4& setTranslation(const LLVector3 &translation);
+ // Convenience func for simplifying comparison-heavy code by
+ // intentionally stomping values [-FLT_EPS,FLT_EPS] to 0.0
+ //
+ void condition(void);
+
///////////////////////////
//
// Get properties of a matrix