diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-02-11 17:31:56 -0500 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-02-11 17:31:56 -0500 |
commit | a4135cd3aa8be0d1d17174c2ccdce36cbf235367 (patch) | |
tree | 8f13dd7abefb2c8ac553cab0143780914ae65f4a /indra/llmath/llbbox.h | |
parent | 344ddaf9f5945c63c39774f9619069629430e70b (diff) | |
parent | f546f06452f453cf062d166ddebefd98afbd118b (diff) |
merge
Diffstat (limited to 'indra/llmath/llbbox.h')
-rw-r--r-- | indra/llmath/llbbox.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmath/llbbox.h b/indra/llmath/llbbox.h index 5b911793f0..28e69b75e1 100644 --- a/indra/llmath/llbbox.h +++ b/indra/llmath/llbbox.h @@ -51,9 +51,11 @@ public: const LLVector3& getPositionAgent() const { return mPosAgent; } const LLQuaternion& getRotation() const { return mRotation; } + LLVector3 getMinAgent() const; const LLVector3& getMinLocal() const { return mMinLocal; } void setMinLocal( const LLVector3& min ) { mMinLocal = min; } + LLVector3 getMaxAgent() const; const LLVector3& getMaxLocal() const { return mMaxLocal; } void setMaxLocal( const LLVector3& max ) { mMaxLocal = max; } @@ -80,6 +82,8 @@ public: LLVector3 localToAgentBasis(const LLVector3& v) const; LLVector3 agentToLocalBasis(const LLVector3& v) const; + // Get the smallest possible axis aligned bbox that contains this bbox + LLBBox getAxisAligned() const; // friend LLBBox operator*(const LLBBox& a, const LLMatrix4& b); |