From 5966de6701f3af05a8ea90dd897419df3bb1532e Mon Sep 17 00:00:00 2001 From: Fabian Klemp Date: Mon, 17 Nov 2014 18:18:15 +0100 Subject: [PATCH] Removing update of the light at the center of the marble. --- level.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/level.cc b/level.cc index fbc09d9..3eff09e 100644 --- a/level.cc +++ b/level.cc @@ -117,7 +117,6 @@ void Level::update(float runTime, glm::vec2 mouseDelta, bool wPressed, bool aPre objects[0].setPosition(physics.getPos(0)); objects[0].setRotation(physics.getRotation(0)); - lights[2].setPosition(physics.getPos(0)); } glm::vec3 Level::getAmbientLight() {