X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fcatalogue.cpp;h=df59a0ee20ef7e73a5235762ced88a59e23dfd7a;hb=d15ac13f2e170f155b4bbd124df48400c339b644;hp=d2ee1447639fd459296168fb8c48bfe649f19a9a;hpb=d91ab10fd78ef29272282b020fa4e08063cb4808;p=r2c2.git diff --git a/source/libr2c2/catalogue.cpp b/source/libr2c2/catalogue.cpp index d2ee144..df59a0e 100644 --- a/source/libr2c2/catalogue.cpp +++ b/source/libr2c2/catalogue.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include "catalogue.h" @@ -96,8 +89,8 @@ void Catalogue::Loader::gauge(float g) { obj.gauge = g/1000; obj.path_profile = Profile(); - obj.path_profile.append_point(Point(0.1*obj.gauge, 0)); - obj.path_profile.append_point(Point(-0.1*obj.gauge, 0)); + obj.path_profile.append_vertex(Vector(0.1*obj.gauge, 0), false); + obj.path_profile.append_vertex(Vector(-0.1*obj.gauge, 0), false); } void Catalogue::Loader::layout()