]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/catalogue.cpp
Update #includes that have been renamed, and remove stray ones
[r2c2.git] / source / libr2c2 / catalogue.cpp
index d2ee1447639fd459296168fb8c48bfe649f19a9a..df59a0ee20ef7e73a5235762ced88a59e23dfd7a 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <msp/core/refptr.h>
 #include <msp/datafile/parser.h>
 #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()