diff options
Diffstat (limited to 'src/buffer/vertex/fluid_cell_buffer.h')
-rw-r--r-- | src/buffer/vertex/fluid_cell_buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer/vertex/fluid_cell_buffer.h b/src/buffer/vertex/fluid_cell_buffer.h index 9e535cb..8afb342 100644 --- a/src/buffer/vertex/fluid_cell_buffer.h +++ b/src/buffer/vertex/fluid_cell_buffer.h @@ -2,6 +2,8 @@ #include <GL/glew.h> +#include <functional> + class FluidCellBuffer { private: const GLuint _nX; @@ -11,7 +13,7 @@ private: GLuint _buffer; public: - FluidCellBuffer(GLuint nX, GLuint nY); + FluidCellBuffer(GLuint nX, GLuint nY, std::function<int(int,int)>&& geometry); ~FluidCellBuffer(); GLuint getBuffer() const; |