diff --git a/engine/include/Camera.hpp b/engine/include/Camera.hpp index 0e8fc60..dba3bfa 100644 --- a/engine/include/Camera.hpp +++ b/engine/include/Camera.hpp @@ -19,7 +19,7 @@ class Camera { Camera(Point position, Point lookAt, Point up, int fov, float near, float far); -// std::string toString(); + // std::string toString(); }; #endif // CAMERA_HPP \ No newline at end of file diff --git a/engine/src/draw.cpp b/engine/src/draw.cpp index f1efaa1..8e17d60 100644 --- a/engine/src/draw.cpp +++ b/engine/src/draw.cpp @@ -12,7 +12,6 @@ #include "draw.hpp" #include "utils.hpp" - void drawTriangles(const std::vector& points) { glBegin(GL_TRIANGLES); for (size_t i = 0; i < points.size(); i += 3) { @@ -24,4 +23,3 @@ void drawTriangles(const std::vector& points) { } glEnd(); } - diff --git a/engine/src/main.cpp b/engine/src/main.cpp index aabf2fd..4202754 100644 --- a/engine/src/main.cpp +++ b/engine/src/main.cpp @@ -96,11 +96,10 @@ void processSpecialKeys(int key, int xx, int yy) { } void setupConfig(char* arg) { - std::string filename; filename.assign(arg); c = parseConfig(filename); - for(std::string file : c.models) { + for (std::string file : c.models) { std::string dir = MODELS; dir.append(file); @@ -114,8 +113,7 @@ void setupConfig(char* arg) { } int main(int argc, char** argv) { - - setupConfig(argv[1]); + setupConfig(argv[1]); // put GLUT�s init here glutInit(&argc, argv);