summary refs log tree commit diff
path: root/src/World/Clouds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Clouds.hpp')
-rw-r--r--src/World/Clouds.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/World/Clouds.hpp b/src/World/Clouds.hpp
index 35e7155..4bd0637 100644
--- a/src/World/Clouds.hpp
+++ b/src/World/Clouds.hpp
@@ -1,10 +1,10 @@
 #pragma once
 
 #include "../Time.hpp"
-#include "../GFX/Binder.hpp"
 #include "../GFX/Shading/Program.hpp"
 #include "../GFX/Shading/Uniform.hpp"
 #include "../GFX/Camera.hpp"
+#include "../GFX/Mesh.hpp"
 
 namespace MC::World {
 
@@ -13,7 +13,7 @@ public:
     Clouds(Real ascept, Real fov, Real near, Real far, Vector<3, F32> sky_color, Vector<3, F32> sun_direction);
 
     void update(const Time& time);
-    void render(const GFX::Camera& camera) const;
+    void render(const GFX::Camera& camera);
 private:
     constexpr static U32 CloudMatrixSize = 128;
     constexpr static Int Height = 200;
@@ -22,7 +22,7 @@ private:
 
     using CloudMatrix = Matrix<CloudMatrixSize, CloudMatrixSize, Bool>;
 
-    void render_single_instance(const GFX::Camera& camera, Int x, Int y) const;
+    void render_single_instance(const GFX::Camera& camera, Int x, Int y);
 
     static CloudMatrix create_cloud_matrix();
     static GFX::Mesh create_mesh(const CloudMatrix& cloud_matrix);
@@ -33,7 +33,7 @@ private:
     Real m_x_offset = 0.0;
 
     GFX::Shading::Program m_program;
-    GFX::BindableMesh m_mesh;
+    GFX::Mesh m_mesh;
 
     GFX::Shading::Uniform m_model_uniform;
     GFX::Shading::Uniform m_view_uniform;