Remove scale

This commit is contained in:
2016-05-28 13:11:11 +02:00
parent d83cc6403c
commit 34ea491f39
8 changed files with 18 additions and 24 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ void Entity::draw()
glRotatef(rotation.y, 0, 1, 0);
glRotatef(rotation.z, 0, 0, 1);
glScalef(scale, scale, scale);
glTranslatef(-model->center.x, 0, -model->center.z);
//collision gaat hierdoor kapot glTranslatef(-model->center.x, 0, -model->center.z);
glEnable(GL_CULL_FACE);
glCullFace(GL_BACK);