Particle systems use a GLBuffer internally, instead of direct vertex arrays with glDrawElements.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-05 20:27:47 -04:00
parent e445c50af8
commit 656668b8c8
2 changed files with 17 additions and 27 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ private:
void createVertices(size_t numparticles);
// array of transformed vertex data for all particles, for drawing
Vertex *particleVerts;
GLBuffer *buffer;
// Vertex index buffer.
QuadIndices quadIndices;