From d8ec217d779ceaa6f19df7d28fc298a7d8c879c9 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Thu, 11 Jun 2009 19:08:24 +0100 Subject: [PATCH] One curvey point correct --- maps/points.xml | 2 +- src/Points.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/points.xml b/maps/points.xml index 6c85879..7d6567b 100644 --- a/maps/points.xml +++ b/maps/points.xml @@ -2,7 +2,7 @@ No Name - + maps/points.bin diff --git a/src/Points.cpp b/src/Points.cpp index e779eb9..7474669 100644 --- a/src/Points.cpp +++ b/src/Points.cpp @@ -181,7 +181,7 @@ void Points::transform(const track::TravelToken& aToken, double aDelta) const else xTrans = aDelta; - yTrans = -hypTanCurveFunc(aDelta) + 1.0f; + yTrans = hypTanCurveFunc(3.0f - aDelta); glTranslatef(myX + xTrans, 0.0f, myY + yTrans); } -- 2.39.2