From b4d841e41a577d989b786edf702f9eeca3150a4f Mon Sep 17 00:00:00 2001 From: David Vereb Date: Wed, 9 Sep 2020 21:50:34 -0400 Subject: [PATCH] s --- main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: