]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/tracktype.cpp
Move Endpoint inside TrackType
[r2c2.git] / source / libmarklin / tracktype.cpp
index 1a39877a94bbb649d86b193e133c4030aa61a1a1..8c1505b87033ca821526a7831f9a33d58d5b00cc 100644 (file)
@@ -154,6 +154,12 @@ void TrackType::collect_endpoints()
        }
 }
 
+TrackType::Endpoint::Endpoint(float x, float y, float d, unsigned p):
+       pos(x, y),
+       dir(d),
+       paths(p)
+{ }
+
 
 TrackType::Loader::Loader(TrackType &t):
        Msp::DataFile::BasicLoader<TrackType>(t)