summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmap.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-05-18 23:09:57 -0500
committerDave Parks <davep@lindenlab.com>2022-05-18 23:09:57 -0500
commit63878a60eb8ab6884ed3aeec63a28e5089636092 (patch)
tree9ec9560c89feb5304c13cc12248bec12ee25cb2d /indra/newview/llreflectionmap.h
parent53c692c9597551c9a1ba8eee346432de51d9d22d (diff)
SL-17416 Box reflection probe influence volumes
Diffstat (limited to 'indra/newview/llreflectionmap.h')
-rw-r--r--indra/newview/llreflectionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llreflectionmap.h b/indra/newview/llreflectionmap.h
index 305f33af4b..4f0f124118 100644
--- a/indra/newview/llreflectionmap.h
+++ b/indra/newview/llreflectionmap.h
@@ -55,6 +55,12 @@ public:
// return true if given Reflection Map's influence volume intersect's with this one's
bool intersects(LLReflectionMap* other);
+ // get the encoded bounding box of this probe's influence volume
+ // will only return a box if this probe has a volume with a square
+ // profile and a linear path
+ // return false if no bounding box (treat as sphere influence volume)
+ bool getBox(LLMatrix4& box);
+
// point at which environment map was last generated from (in agent space)
LLVector4a mOrigin;
@@ -87,6 +93,9 @@ public:
// viewer object this probe is tracking (if any)
LLViewerObject* mViewerObject = nullptr;
+ // what priority should this probe have (higher is higher priority)
+ U32 mPriority = 1;
+
bool mDirty = true;
};