diff --git a/main.cpp b/main.cpp index 14a2d5c..ae41cf3 100644 --- a/main.cpp +++ b/main.cpp @@ -27,7 +27,7 @@ static std::vector > tracks; void draw(const std::vector &points) { - glLineWidth(1.0f); + // glLineWidth(1.0f); // Draw bike path glBegin(GL_LINE_STRIP); @@ -51,11 +51,11 @@ void display() glLoadIdentity(); static double asdf = -10.0; - asdf += 0.03; - if(asdf > 30.0) - asdf = -30.0; - gluLookAt(-asdf, 12.0, -30, /* eye is at */ - 0.0, 0.0, 0.0, /* center is at */ + asdf += 0.02; + if(asdf > 15.0) + asdf = -15.0; + gluLookAt(-15, 12.0, -asdf, /* eye is at */ + 0.0, 6.0, 0.0, /* center is at */ 0.0, 1.0, 0.0); /* up is in positive Y direction */ // DRAW TRACKS: