Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -180,6 +180,9 @@ void VoxelSystem::render() { · 179 unmodified lines | ||
| 180 | 180 | // bind with 0 to switch back to normal operation |
| 181 | 181 | glBindBuffer(GL_ARRAY_BUFFER, 0); |
| 182 | 182 | glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); |
| 183 | + | |
| 184 | + // scale back down to 1 so heads aren't massive | |
| 185 | + glScalef(1, 1, 1); | |
| 183 | 186 | } |
| 184 | 187 | |
| 185 | 188 | void VoxelSystem::simulate(float deltaTime) { |