]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/geometry.h
Allow intercepting and denying turnout route and locomotive speed changes
[r2c2.git] / source / libmarklin / geometry.h
index 4b0afc23f2b9fdc1672e2b814c7bf2e24542755e..e9b9e27266f10d74fb72b87eebd4b327172f97fb 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef LIBMARKLIN_GEOMETRY_H_
 #define LIBMARKLIN_GEOMETRY_H_
 
@@ -10,6 +17,7 @@ struct Point
        float x, y, z;
 
        Point(): x(0), y(0), z(0) { }
+       Point(float x_, float y_): x(x_), y(y_), z(0) { }
        Point(float x_, float y_, float z_): x(x_), y(y_), z(z_) { }
 };