Skip to content

Commit

Permalink
Removed outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matrefeytontias committed Feb 13, 2019
1 parent 62e94a4 commit 3f8f6fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ int _main(int, char *argv[])
cubeGeometry.from3D(vertices, tris, tetras, 0.1);
cubeGeometry.unindex();
cubeGeometry.recomputeNormals(true);
// for(unsigned int k = 0; k < cubeGeometry.vertices.size(); k++)
// cubeGeometry.normals.push_back(Vector4f(0, 0, 0, -1));
cubeGeometry.uploadGPU();
// Holed cube
if(!OFFLoader::loadModel("models/holedCube", vertices, tris, tetras))
Expand All @@ -202,8 +200,6 @@ int _main(int, char *argv[])
holedGeometry.from3D(vertices, tris, tetras, 0.1);
holedGeometry.unindex();
holedGeometry.recomputeNormals(true);
// for(unsigned int k = 0; k < holedGeometry.vertices.size(); k++)
// holedGeometry.normals.push_back(Vector4f(0, 0, 0, -1));
holedGeometry.uploadGPU();
}
Model4RenderContext cubeRC(cubeGeometry, program), holedRC(holedGeometry, program);
Expand Down

0 comments on commit 3f8f6fd

Please sign in to comment.