Draw distance slider (#44)

Helps render performance on integrated GPUs.
Added render culling for baked compounds.
This commit is contained in:
Erin Catto 2026-07-03 20:26:19 -07:00 • committed by GitHub
commit 1bec63c9ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 200 additions and 8 deletions

View file

@ -571,6 +571,7 @@ public:
MakeDebugDraw( &debugDraw );
ApplyGuiFlags( &debugDraw );
debugDraw.drawingBounds = m_camera->DrawBounds(); // view-distance box in length units around the eye
SetViewBounds( debugDraw.drawingBounds );
// Drive the shared outline highlight from the selection. A shape selection outlines that
// shape alone, a body selection outlines the whole body. Set before the draw so the mask