summaryrefslogtreecommitdiff
path: root/indra/llmath/llbbox.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-01-11 09:03:18 -0800
committerMerov Linden <merov@lindenlab.com>2011-01-11 09:03:18 -0800
commitaab5759467a4d24aaebbdc95f052fbcb46826657 (patch)
tree461fe115173ff85aa29233093c5334b4658a4000 /indra/llmath/llbbox.h
parent8e3c9b127373bb39c248ae7abf2003e684dbc6ba (diff)
parentc8457f266423370e6f8e84c1b23ef95ed69a2997 (diff)
STORM-807 : pull into viewer-development
Diffstat (limited to 'indra/llmath/llbbox.h')
-rw-r--r--indra/llmath/llbbox.h4
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);