X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fgeometry.h;h=e9b9e27266f10d74fb72b87eebd4b327172f97fb;hb=025c23f199c411cc2ec1a6d2e85bf24460150ceb;hp=240bd89ac4fdd85dc83f6c92943a1ed333182768;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/libmarklin/geometry.h b/source/libmarklin/geometry.h index 240bd89..e9b9e27 100644 --- a/source/libmarklin/geometry.h +++ b/source/libmarklin/geometry.h @@ -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_) { } };