X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Flibr2c2%2Ftracktype.h;h=64efe8c1907f27541d08af89a2898aa4c02040ac;hb=0be77238bcd33baf23594f3b54464205d2d51b31;hp=afc85215bfe0366e0e107d21371a218ea8ab282a;hpb=2910db1364914c0ab98a0f80250cc39137821577;p=r2c2.git diff --git a/source/libr2c2/tracktype.h b/source/libr2c2/tracktype.h index afc8521..64efe8c 100644 --- a/source/libr2c2/tracktype.h +++ b/source/libr2c2/tracktype.h @@ -9,16 +9,18 @@ namespace R2C2 { +class TrackAppearance; + class TrackType: public ObjectType { public: struct Endpoint { Vector pos; - float dir; // Direction outwards from the endpoint + Angle dir; // Direction outwards from the endpoint unsigned paths; - Endpoint(float, float, float, unsigned); + Endpoint(float, float, const Angle &, unsigned); bool has_path(unsigned p) const { return paths&(1<
parts;
std::vector