]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Render tracks through GL::Objects
[r2c2.git] / source / 3d / layout.h
index 5964a04ed4ce0b1d8a6b43dc47170215ca146f8f..c64386fcc1ca91e57f6a6f7d0478c3bdb37c70dc 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,7 +30,7 @@ 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;