]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/track.h
Add a vehicle property for swapping directions
[r2c2.git] / source / 3d / track.h
index 9555bff7a67083edb30f991cdbcdd7e8d46eb549..66382bce3794cc91fddcb895e7bbe40072b34ffc 100644 (file)
@@ -39,15 +39,14 @@ public:
        Layout3D &get_layout() const { return layout; }
        Track &get_track() const { return track; }
        const TrackType3D &get_type() const { return type; }
-       void get_bounds(float, Point &, Point &) const;
+       void get_bounds(float, Vector &, Vector &) const;
        Path3D &get_path() { return *path; }
 
-       virtual Point get_node() const;
+       virtual Vector get_node() const;
        virtual bool is_visible() const { return true; }
 
        Msp::GL::Matrix get_matrix() const;
        virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
-       virtual void finish_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
 private:
        void link_changed(unsigned, Track *);
 };