mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Cache enable_3d_clouds flag
Small improvement on clouds rendering performance
This commit is contained in:
parent
9345ba7b6a
commit
4b0f5fcbf5
2 changed files with 5 additions and 3 deletions
|
@ -88,6 +88,7 @@ private:
|
|||
core::aabbox3d<f32> m_box;
|
||||
float m_cloud_y;
|
||||
u16 m_cloud_radius_i;
|
||||
bool m_enable_3d;
|
||||
video::SColorf m_color;
|
||||
u32 m_seed;
|
||||
v2f m_camera_pos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue