]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/geometry.h
Attempt to estimate the exact positions of trains from measured speed data
[r2c2.git] / source / libmarklin / geometry.h
index 240bd89ac4fdd85dc83f6c92943a1ed333182768..e9b9e27266f10d74fb72b87eebd4b327172f97fb 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -17,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_) { }
 };