From f0b536ac93b3a9a49dfff8a7637f09b153a3b955 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 22 Feb 2019 21:49:07 +0100 Subject: Improvise interactive wall drawing Internal wall cells need to be disabled to prevent delayed propagation of the reflected populations. This is just quickly thrown together - both the visual drawing and the backend's material handling remain to be improved. --- src/buffer/vertex/material_buffer.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/buffer/vertex/material_buffer.h (limited to 'src/buffer/vertex/material_buffer.h') diff --git a/src/buffer/vertex/material_buffer.h b/src/buffer/vertex/material_buffer.h new file mode 100644 index 0000000..eccf008 --- /dev/null +++ b/src/buffer/vertex/material_buffer.h @@ -0,0 +1,18 @@ +#pragma once + +#include + +class MaterialBuffer { +private: + const GLuint _nX; + const GLuint _nY; + + GLuint _array; + GLuint _buffer; + +public: + MaterialBuffer(GLuint nX, GLuint nY); + ~MaterialBuffer(); + + GLuint getBuffer() const; +}; -- cgit v1.2.3