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

@ -78,6 +78,7 @@ Camera::Camera()
, m_fov( 60.0f * DEG_TO_RAD )
, m_near( 0.1f )
, m_far( kViewDistance )
, m_drawDistance( kViewDistance )
, m_speed( 10.0f )
, m_width( 0 )
, m_height( 0 )