summaryrefslogtreecommitdiff
path: root/indra/llmath/llbbox.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-20 20:48:16 -0500
committerOz Linden <oz@lindenlab.com>2011-01-20 20:48:16 -0500
commit4f3953763de478b15ec6adc5c468b19a0e13bfe8 (patch)
treedf9926a8ef0446a44bbb07126dafb7345760fd8c /indra/llmath/llbbox.h
parentf9b9c7a5816cf0b9627a4a50e73a663667937145 (diff)
parentc47ab36b20e102a918257e5fa5452f13bc55a393 (diff)
merge changes from viewer-beta
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);