]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/track.h
Improve the interface and algorithms of BlockAllocator
[r2c2.git] / source / libr2c2 / track.h
index 13409d5e753a75b0b9345f6d072a621e75dc56e5..168ac37eb669bffe2f15a8457152feb068c1fe77 100644 (file)
@@ -54,7 +54,7 @@ public:
        void set_block(Block *);
        Block &get_block() const;
        virtual void set_position(const Vector &);
-       virtual void set_rotation(float);
+       virtual void set_rotation(const Angle &);
        void set_slope(float);
        void set_flex(bool);
        float get_slope() const { return slope; }
@@ -89,8 +89,6 @@ public:
        using Object::break_link;
        virtual bool break_link(unsigned);
 
-       virtual bool collide_ray(const Vector &, const Vector &) const;
-
        void save(std::list<Msp::DataFile::Statement> &) const;
 private:
        void turnout_event(unsigned, unsigned);