1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Update clouds enable_3d_clouds when setting changed

This commit is contained in:
est31 2015-07-09 08:07:59 +02:00
parent 13e100e1d8
commit 4ece2b9e32
2 changed files with 22 additions and 6 deletions

View file

@ -83,9 +83,12 @@ public:
BS * 1000000, m_cloud_y + BS - BS * camera_offset.Y, BS * 1000000);
}
void readSettings();
private:
video::SMaterial m_material;
core::aabbox3d<f32> m_box;
s16 m_passed_cloud_y;
float m_cloud_y;
u16 m_cloud_radius_i;
bool m_enable_3d;