From 4b0f5fcbf5a52b234f0571ad521707998be320f7 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 4 May 2015 22:50:04 +0200 Subject: Cache enable_3d_clouds flag Small improvement on clouds rendering performance --- src/clouds.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/clouds.h') 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 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; -- cgit v1.2.3