Removing update of the light at the center of the marble.
This commit is contained in:
parent
e34e1ad04d
commit
5966de6701
1
level.cc
1
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].setPosition(physics.getPos(0));
|
||||||
objects[0].setRotation(physics.getRotation(0));
|
objects[0].setRotation(physics.getRotation(0));
|
||||||
lights[2].setPosition(physics.getPos(0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
glm::vec3 Level::getAmbientLight() {
|
glm::vec3 Level::getAmbientLight() {
|
||||||
|
Loading…
Reference in New Issue
Block a user