Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all
Unified · Split
| @@ -219,7 +219,6 @@ void VoxelSystem::render() { · 218 unmodified lines | |||
| 219 | 219 | ||
| 220 | // draw the number of voxels we have | 220 | // draw the number of voxels we have |
| 221 | glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vboIndicesID); | 221 | glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vboIndicesID); |
| 222 | glTranslatef(40, 0, 40); | ||
| 223 | glScalef(10, 10, 10); | 222 | glScalef(10, 10, 10); |
| 224 | glDrawElements(GL_TRIANGLES, 36 * voxelsRendered, GL_UNSIGNED_INT, 0); | 223 | glDrawElements(GL_TRIANGLES, 36 * voxelsRendered, GL_UNSIGNED_INT, 0); |
| 225 | 224 | ||