]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/tracktype.h
Make use of the mspmath library
[r2c2.git] / source / libr2c2 / tracktype.h
index afc85215bfe0366e0e107d21371a218ea8ab282a..f446064558442be5d7c8b318174637d8d08086bf 100644 (file)
@@ -15,10 +15,10 @@ 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<<p); }
                bool has_common_paths(const Endpoint &e) const { return paths&e.paths; }