]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Determine the border of tracktypes with custom object
[r2c2.git] / source / 3d / layout.h
index c64386fcc1ca91e57f6a6f7d0478c3bdb37c70dc..bb9d4277d775babf066c8e3b3ccecf64eaa414ec 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of R²C²
-Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2011 Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -32,7 +32,7 @@ private:
        VehicleMap vehicles;
        Msp::GL::InstanceScene scene;
        Msp::GL::SimpleScene ep_scene;
-       Msp::GL::SimpleScene path_scene;
+       Msp::GL::InstanceScene path_scene;
 
 public:
        Layout3D(Layout &);
@@ -44,7 +44,6 @@ public:
        void remove_track(Track3D &);
        const TrackMap &get_tracks() const { return tracks; }
        Track3D &get_track(Track &) const;
-       Track3D *pick_track(float, float, float) const;
 
        void add_vehicle(Vehicle3D &);
        void remove_vehicle(Vehicle3D &);