X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftrack.h;h=cc06cf1593f24073c42ccf779480cc3b262ce36c;hb=e3e3a940c75dcad126d5cf08f0802efdab914568;hp=757955af21ff111f7fdfe3094761b3858f66dcaa;hpb=d91ab10fd78ef29272282b020fa4e08063cb4808;p=r2c2.git diff --git a/source/3d/track.h b/source/3d/track.h index 757955a..cc06cf1 100644 --- a/source/3d/track.h +++ b/source/3d/track.h @@ -1,14 +1,8 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef R2C2_3D_TRACK_H_ #define R2C2_3D_TRACK_H_ #include +#include #include #include #include "libr2c2/track.h" @@ -38,15 +32,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; 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(const Msp::GL::Tag &) const; - virtual void finish_render(const Msp::GL::Tag &) const; + virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const; +private: + void link_changed(unsigned, Track *); }; } // namespace R2C2