diff options
Bind key to reset lattice buffers
i.e. restarting the simulation without clearing the geometry
Diffstat (limited to 'src/buffer/vertex/fluid_cell_buffer.h')
-rw-r--r-- | src/buffer/vertex/fluid_cell_buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<int(int,int)>&& geometry); ~FluidCellBuffer(); + void init(std::function<int(int,int)>&& geometry); + GLuint getBuffer() const; void draw() const; |