summaryrefslogtreecommitdiff
path: root/indra/llmath/llbbox.h
diff options
context:
space:
mode:
authorAndrew Meadows <andrew@lindenlab.com>2010-12-14 08:52:33 -0800
committerAndrew Meadows <andrew@lindenlab.com>2010-12-14 08:52:33 -0800
commit64512b681e2f5582378d9943642a82c83cae30ac (patch)
tree2ebc13a3426054c315a63e53d94ce7a45e9e1e63 /indra/llmath/llbbox.h
parente040f16a4f2e50592a125a04185fd9f06ac49522 (diff)
ER-398 viewer's encroachment logic only uses bounding box of root prim
Adding LLBBox::join() to allow us to compute the bounding box of a linked object
Diffstat (limited to 'indra/llmath/llbbox.h')
-rw-r--r--indra/llmath/llbbox.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llmath/llbbox.h b/indra/llmath/llbbox.h
index a0d434b051..8616320381 100644
--- a/indra/llmath/llbbox.h
+++ b/indra/llmath/llbbox.h
@@ -83,7 +83,10 @@ public:
LLVector3 agentToLocalBasis(const LLVector3& v) const;
// Get the smallest possible axis aligned bbox that contains this bbox
- LLBBox getAxisAligned() const;
+ LLBBox getAxisAligned() const;
+
+ // Increases the size to contain other_box
+ void join(const LLBBox& other_box);
// friend LLBBox operator*(const LLBBox& a, const LLMatrix4& b);