]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clouds.h
Fix player:set_animation() in third person view
[dragonfireclient.git] / src / clouds.h
index 8f8b19faf77c63bb58a0348f8a22e7bfeb8f384f..a6883a44a2aa6dd5d2cbb245bb495b72cf9b5689 100644 (file)
@@ -66,16 +66,21 @@ class Clouds : public scene::ISceneNode
        void step(float dtime);
 
        void update(v2f camera_p, video::SColorf color);
+       
+       void updateCameraOffset(v3s16 camera_offset)
+       {
+               m_camera_offset = camera_offset;
+       }
 
 private:
        video::SMaterial m_material;
        core::aabbox3d<f32> m_box;
        float m_cloud_y;
-       float m_brightness;
        video::SColorf m_color;
        u32 m_seed;
        v2f m_camera_pos;
        float m_time;
+       v3s16 m_camera_offset;
 };