summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerparceloverlay.h
diff options
context:
space:
mode:
authorAndrew Meadows <andrew@lindenlab.com>2010-12-22 10:28:16 -0800
committerAndrew Meadows <andrew@lindenlab.com>2010-12-22 10:28:16 -0800
commitbf20d1498b38ad2a15bbe9b013eaca94c437b843 (patch)
tree77548aa4a6737ee925c908b5b2d196c13b1301fc /indra/newview/llviewerparceloverlay.h
parent375bdb6d1eb58e7f9f84be947d05ca44e550752d (diff)
parent740bd8dbfd791bdd548064912abad8c0bf230f4c (diff)
merge
Diffstat (limited to 'indra/newview/llviewerparceloverlay.h')
-rw-r--r--indra/newview/llviewerparceloverlay.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerparceloverlay.h b/indra/newview/llviewerparceloverlay.h
index 61be220312..c80baedda6 100644
--- a/indra/newview/llviewerparceloverlay.h
+++ b/indra/newview/llviewerparceloverlay.h
@@ -30,6 +30,7 @@
// The ownership data for land parcels.
// One of these structures per region.
+#include "llbbox.h"
#include "lldarray.h"
#include "llframetimer.h"
#include "lluuid.h"
@@ -54,6 +55,12 @@ public:
BOOL isOwnedSelf(const LLVector3& pos) const;
BOOL isOwnedGroup(const LLVector3& pos) const;
BOOL isOwnedOther(const LLVector3& pos) const;
+
+ // "encroaches" means the prim hangs over the parcel, but its center
+ // might be in another parcel. for now, we simply test axis aligned
+ // bounding boxes which isn't perfect, but is close
+ bool encroachesOwned(const std::vector<LLBBox>& boxes) const;
+
BOOL isSoundLocal(const LLVector3& pos) const;
BOOL isBuildCameraAllowed(const LLVector3& pos) const;