Draw distance slider (#44)
Helps render performance on integrated GPUs. Added render culling for baked compounds.
This commit is contained in:
parent
655799893a
commit
1bec63c9ee
11 changed files with 200 additions and 8 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue