From 34566b28a82869cbf004d91c6d658ba71d40ed97 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 18 Apr 2019 22:15:39 +0200 Subject: Bind key to reset lattice buffers i.e. restarting the simulation without clearing the geometry --- src/buffer/vertex/fluid_cell_buffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buffer/vertex/fluid_cell_buffer.h') diff --git a/src/buffer/vertex/fluid_cell_buffer.h b/src/buffer/vertex/fluid_cell_buffer.h index 8afb342..791ebea 100644 --- a/src/buffer/vertex/fluid_cell_buffer.h +++ b/src/buffer/vertex/fluid_cell_buffer.h @@ -16,6 +16,8 @@ public: FluidCellBuffer(GLuint nX, GLuint nY, std::function&& geometry); ~FluidCellBuffer(); + void init(std::function&& geometry); + GLuint getBuffer() const; void draw() const; -- cgit v1.2.3