diff options
author | est31 <MTest31@outlook.com> | 2015-05-04 22:50:04 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-05-04 22:50:04 +0200 |
commit | 4b0f5fcbf5a52b234f0571ad521707998be320f7 (patch) | |
tree | 416c6a545e813e3014bc337d27c847600e444c4c /src/clouds.h | |
parent | 9345ba7b6a6cd19e0af0f51be1154ae571332f04 (diff) | |
download | minetest-4b0f5fcbf5a52b234f0571ad521707998be320f7.tar.gz minetest-4b0f5fcbf5a52b234f0571ad521707998be320f7.tar.bz2 minetest-4b0f5fcbf5a52b234f0571ad521707998be320f7.zip |
Cache enable_3d_clouds flag
Small improvement on clouds rendering performance
Diffstat (limited to 'src/clouds.h')
-rw-r--r-- | src/clouds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clouds.h b/src/clouds.h index 70f12239e..348220fb1 100644 --- a/src/clouds.h +++ b/src/clouds.h @@ -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; |