Path (and PathSimulator): Trim trailing Newlines

This commit is contained in:
luzpaz
2024-07-13 16:14:38 +00:00
committed by wwmayer
parent 9c6e78b5cb
commit 8a14a7d6f0
3 changed files with 6 additions and 6 deletions

View File

@@ -363,7 +363,7 @@ void MillSim::Shape::GenerateModel(float* vbuffer, GLushort* ibuffer, int numVer
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), (void*)offsetof(Vertex, x));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), (void*)offsetof(Vertex, nx));
numIndices = nIndices;
}