diff options
author | andreykproductengine <akleshchev@productengine.com> | 2015-09-30 22:47:14 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2015-09-30 22:47:14 +0300 |
commit | 4d536f8955082c0d7bdbd21b6d668529b9e3f88b (patch) | |
tree | 063f712674b6f61aaa3dae0703db1adb17582094 /indra/llmath/m4math.h | |
parent | 16f0cfe6dc0f95e599ff8365a876ea6ba62678f8 (diff) | |
parent | 2d52b62e67cf46222396c724d00d2de874819197 (diff) |
Merge from viewer release
Diffstat (limited to 'indra/llmath/m4math.h')
-rwxr-xr-x | indra/llmath/m4math.h | 5 |
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 |