summaryrefslogtreecommitdiff
path: root/indra/llmath/llquaternion.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-09-19 15:50:30 -0700
committerRider Linden <rider@lindenlab.com>2017-09-19 15:50:30 -0700
commitc04ceedbc3e462098eceaa233cd26f6bed79b773 (patch)
treebd4deb87b3c14ba6413cb30ab40d47aae1517b5a /indra/llmath/llquaternion.cpp
parent2368c44a8e2b031e5a8ac199923a016915cfe96a (diff)
Baseline for settings changes
Diffstat (limited to 'indra/llmath/llquaternion.cpp')
-rw-r--r--indra/llmath/llquaternion.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmath/llquaternion.cpp b/indra/llmath/llquaternion.cpp
index 47374c287f..dcef2b345e 100644
--- a/indra/llmath/llquaternion.cpp
+++ b/indra/llmath/llquaternion.cpp
@@ -103,6 +103,10 @@ LLQuaternion::LLQuaternion(const LLVector3 &x_axis,
*this = mat.quaternion();
normalize();
}
+LLQuaternion::LLQuaternion(const LLSD &sd)
+{
+ setValue(sd);
+}
// Quatizations
void LLQuaternion::quantize16(F32 lower, F32 upper)