summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-25 20:03:18 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:34:01 -0800
commit025e9dcc4d898a7a66c55040903f5d1f9a6d4d7f (patch)
treeef7519d9d2eb3fc5bfaa9739c617f6d597cbe4c0 /indra/llmath
parent78228d4dc423478c153aeeab0d92acf9ce5de78b (diff)
send position and rotation data to voice server.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llquaternion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmath/llquaternion.h b/indra/llmath/llquaternion.h
index 51ce163b4e..609d75a095 100644
--- a/indra/llmath/llquaternion.h
+++ b/indra/llmath/llquaternion.h
@@ -132,6 +132,7 @@ public:
friend LLQuaternion operator~(const LLQuaternion &a); // Returns a* (Conjugate of a)
bool operator==(const LLQuaternion &b) const; // Returns a == b
bool operator!=(const LLQuaternion &b) const; // Returns a != b
+ F64 operator[](int idx) const { return mQ[idx]; }
friend const LLQuaternion& operator*=(LLQuaternion &a, const LLQuaternion &b); // Returns a * b