mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 05:44:50 +02:00
scale back heads after voxel system draw
This commit is contained in:
parent
95926cb7fc
commit
5f052d7c9e
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue