History

scale back heads after voxel system draw

Stephen Birarda committed 13 years ago

Commit 5f052d71 parent 95926cb1 file · +3 −0Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+3−0
@@ -180,6 +180,9 @@ void VoxelSystem::render() { · 179 unmodified lines
180180 // bind with 0 to switch back to normal operation
181181 glBindBuffer(GL_ARRAY_BUFFER, 0);
182182 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
183+
184+ // scale back down to 1 so heads aren't massive
185+ glScalef(1, 1, 1);
183186 }
184187
185188 void VoxelSystem::simulate(float deltaTime) {