diff options
author | Adrian Kummerlaender | 2018-12-18 21:08:20 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2018-12-18 21:08:20 +0100 |
commit | 6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf (patch) | |
tree | 4dabb7259102afe4ddca25293ed3cc77640f95f8 /src/buffer | |
parent | d58c4cbeb95e25ea08994e4d39f657d078a33782 (diff) | |
download | compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar.gz compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar.bz2 compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar.lz compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar.xz compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.tar.zst compustream-6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf.zip |
Hacky mouse-based fluid interaction
Diffstat (limited to 'src/buffer')
-rw-r--r-- | src/buffer/vertex/lattice_cell_buffer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer/vertex/lattice_cell_buffer.cc b/src/buffer/vertex/lattice_cell_buffer.cc index ea4e103..e8cfc08 100644 --- a/src/buffer/vertex/lattice_cell_buffer.cc +++ b/src/buffer/vertex/lattice_cell_buffer.cc @@ -7,7 +7,7 @@ LatticeCellBuffer::LatticeCellBuffer(GLuint nX, GLuint nY) { glGenBuffers(1, &_buffer); std::vector<GLfloat> data(9*nX*nY, GLfloat{1./9.}); - const int insetX = 0.45*nX; + /*const int insetX = 0.45*nX; const int insetY = 0.45*nY; for (int x = insetX; x < nX-insetX; x++) { @@ -18,7 +18,7 @@ LatticeCellBuffer::LatticeCellBuffer(GLuint nX, GLuint nY) { } } } - } + }*/ glBindVertexArray(_array); glBindBuffer(GL_ARRAY_BUFFER, _buffer); |