scale back heads after voxel system draw

This commit is contained in:
Stephen Birarda 2013-03-21 17:03:52 -07:00
parent 95926cb7fc
commit 5f052d7c9e

View file

@ -180,6 +180,9 @@ void VoxelSystem::render() {
// bind with 0 to switch back to normal operation
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
// scale back down to 1 so heads aren't massive
glScalef(1, 1, 1);
}
void VoxelSystem::simulate(float deltaTime) {