History

transmitter tweaks

Philip Rosedale committed 13 years ago

Commit f014fcd1 parent 26fd44f4 files · +47 −6Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+2−0
@@ -244,6 +244,8 @@ void VoxelSystem::render() { · 243 unmodified lines
244244 glBindBuffer(GL_ARRAY_BUFFER, vboColorsID);
245245 glColorPointer(3, GL_FLOAT, 0, 0);
246246
247+ glNormal3f(0, 1, 0);
248+
247249 glDrawElements(GL_TRIANGLES, 36 * voxelsRendered, GL_UNSIGNED_INT, 0);
248250
249251 // deactivate vertex and color arrays after drawing