Removed commented code.

This commit is contained in:
Faerbit 2015-02-15 19:20:21 +01:00
parent 2c699590e2
commit ae1d04b5ee

View File

@ -50,7 +50,7 @@ void Level::render(ACGL::OpenGL::SharedShaderProgram shader, bool lightingPass,
glm::mat4* viewProjectionMatrix, std::vector<glm::mat4>* shadowVPs) {
for(unsigned int i = 0; i<objects.size(); i++) {
// do not project shadow of skydome
if(lightingPass || (objects.at(i) != skydome /*&& i!=0*/)) {
if(lightingPass || (objects.at(i) != skydome)) {
objects.at(i)->render(shader, lightingPass, viewProjectionMatrix, shadowVPs);
}
}