]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Use different stopping margin depending on whether the next track is a turnout
[r2c2.git] / source / 3d / layout.h
index 5964a04ed4ce0b1d8a6b43dc47170215ca146f8f..d1ec7c49f457b472b52adc1359f776ac8a156423 100644 (file)
@@ -9,6 +9,7 @@ Distributed under the GPL
 #define R2C2_3D_LAYOUT_H_
 
 #include <sigc++/trackable.h>
+#include <msp/gl/instancescene.h>
 #include <msp/gl/simplescene.h>
 #include "libr2c2/layout.h"
 #include "catalogue.h"
@@ -29,9 +30,9 @@ private:
        Catalogue3D catalogue;
        TrackMap tracks;
        VehicleMap vehicles;
-       Msp::GL::SimpleScene scene;
+       Msp::GL::InstanceScene scene;
        Msp::GL::SimpleScene ep_scene;
-       Msp::GL::SimpleScene path_scene;
+       Msp::GL::InstanceScene path_scene;
 
 public:
        Layout3D(Layout &);