]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Render tracks through GL::Objects
[r2c2.git] / source / 3d / layout.h
index e7f3c33c752d09e821bc5532355ff582f2d4bc7f..c64386fcc1ca91e57f6a6f7d0478c3bdb37c70dc 100644 (file)
@@ -9,7 +9,8 @@ Distributed under the GPL
 #define R2C2_3D_LAYOUT_H_
 
 #include <sigc++/trackable.h>
-#include <msp/gl/scene.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::Scene scene;
-       Msp::GL::Scene ep_scene;
-       Msp::GL::Scene path_scene;
+       Msp::GL::InstanceScene scene;
+       Msp::GL::SimpleScene ep_scene;
+       Msp::GL::SimpleScene path_scene;
 
 public:
        Layout3D(Layout &);