History

move the voxel tree back to origin

Stephen Birarda committed 13 years ago

Commit f1099161 parent eec16a82 files · +1 −2Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+0−1
@@ -219,7 +219,6 @@ void VoxelSystem::render() { · 218 unmodified lines
219 219
220 // draw the number of voxels we have220 // 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