]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/endpoint.h
Change terminology to better distinguish routes on the layout from paths across track...
[r2c2.git] / source / libmarklin / endpoint.h
index 9eade4d5edd4bcc0c65e528a384a28536e4e65ee..7382404a0d10c248cb2ee6d2a6fad6a4870b368d 100644 (file)
@@ -16,10 +16,10 @@ struct Endpoint
 {
        Point pos;
        float dir;  // Direction outwards from the endpoint
-       unsigned routes;
+       unsigned paths;
 
-       Endpoint(): dir(0), routes(0) { }
-       Endpoint(float x, float y, float d, unsigned r): pos(x, y), dir(d), routes(r) { }
+       Endpoint(): dir(0), paths(0) { }
+       Endpoint(float x, float y, float d, unsigned p): pos(x, y), dir(d), paths(p) { }
 };
 
 } // namespace Marklin