X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fendpoint.h;h=7382404a0d10c248cb2ee6d2a6fad6a4870b368d;hb=02c9a9779954d993cb73fe5f7a72b0847e87f633;hp=9eade4d5edd4bcc0c65e528a384a28536e4e65ee;hpb=319f90fd59587efc1242c34f307abc29f323642b;p=r2c2.git diff --git a/source/libmarklin/endpoint.h b/source/libmarklin/endpoint.h index 9eade4d..7382404 100644 --- a/source/libmarklin/endpoint.h +++ b/source/libmarklin/endpoint.h @@ -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