summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-01-10 11:42:12 -0600
committerDave Parks <davep@lindenlab.com>2023-01-10 11:42:12 -0600
commit4abf39c968c31a9da943a53434388102b99d487f (patch)
tree8807c96faaec13540b747497032242798837b68d /indra/newview/pipeline.h
parenta2d17d3c1e5a62f10ab3922b6b12f909f1cd4682 (diff)
SL-18869 Optimizations -- Bring back water plane clipping for above/below water where applicable.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r--indra/newview/pipeline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h
index ae4ac4c7ff..d3793da347 100644
--- a/indra/newview/pipeline.h
+++ b/indra/newview/pipeline.h
@@ -243,7 +243,9 @@ public:
bool visibleObjectsInFrustum(LLCamera& camera);
bool getVisibleExtents(LLCamera& camera, LLVector3 &min, LLVector3& max);
bool getVisiblePointCloud(LLCamera& camera, LLVector3 &min, LLVector3& max, std::vector<LLVector3>& fp, LLVector3 light_dir = LLVector3(0,0,0));
- void updateCull(LLCamera& camera, LLCullResult& result, LLPlane* plane = NULL); //if water_clip is 0, ignore water plane, 1, cull to above plane, -1, cull to below plane
+
+ // Populate given LLCullResult with results of a frustum cull of the entire scene against the given LLCamera
+ void updateCull(LLCamera& camera, LLCullResult& result);
void createObjects(F32 max_dtime);
void createObject(LLViewerObject* vobj);
void processPartitionQ();