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-22 23:11:34 -0800
commitd9ec32b1c3878dfa7f34b474d8278e13f2d7ece4 (patch)
tree3e70ba27efa6334642f1d89dbe57c6999a39c8ab /indra/llmath
parent0110e37c7af96b02fd4ad92144b1b042e307d6a5 (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