X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fgeometry.h;fp=source%2Flibmarklin%2Fgeometry.h;h=fab5cea2bd9e8bdc7d33783d258795c623ceeb43;hb=47bff0c8939de3ae20b5ced1ee2f6a264397dcee;hp=e9b9e27266f10d74fb72b87eebd4b327172f97fb;hpb=651698847d5293cfb15b6fb23a394701388c0151;p=r2c2.git diff --git a/source/libmarklin/geometry.h b/source/libmarklin/geometry.h index e9b9e27..fab5cea 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-2009 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -21,6 +21,15 @@ struct Point Point(float x_, float y_, float z_): x(x_), y(y_), z(z_) { } }; +struct TrackPoint +{ + Point pos; + float dir; + float grade; + + TrackPoint(): dir(0), grade(0) { } +}; + } // namespace Marklin #endif