X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flibr2c2%2Fcatalogue.cpp;h=df59a0ee20ef7e73a5235762ced88a59e23dfd7a;hb=ce29d0ccf89840c9581314301de0ea2b5b261c43;hp=51cad9a031a134ddc4107e7413f2d0b5da4b7a02;hpb=c5f5ec54e81a6a85f911fa1075a0939a7352fbfd;p=r2c2.git diff --git a/source/libr2c2/catalogue.cpp b/source/libr2c2/catalogue.cpp index 51cad9a..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_vertex(Point(0.1*obj.gauge, 0), false); - obj.path_profile.append_vertex(Point(-0.1*obj.gauge, 0), false); + 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()