From 5f052d7c9eed6685c95d1ac8e13df46e6da9c565 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 21 Mar 2013 17:03:52 -0700 Subject: [PATCH] scale back heads after voxel system draw --- interface/src/VoxelSystem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/src/VoxelSystem.cpp b/interface/src/VoxelSystem.cpp index 6a35268521..a15fcd1fb4 100644 --- a/interface/src/VoxelSystem.cpp +++ b/interface/src/VoxelSystem.cpp @@ -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) {