29 #include "eng3d/curve.hpp"
47 void get_river(std::vector<glm::vec3>& river,
int current_index,
int prev_index, uint32_t* pixels,
int width,
int height);
49 std::vector<std::unique_ptr<Eng3D::Curve>> curves;
50 std::unique_ptr<Eng3D::OpenGL::Program> line_shader;
51 std::shared_ptr<Eng3D::Texture> water_tex;
Rivers(Eng3D::State &s, bool lazy_init=true)
Construct a new Eng3D::Rivers object.
void draw(const Eng3D::Camera &camera)