]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/tracktype.cpp
Enable Renderer for Endpoint3D and Path3D
[r2c2.git] / source / 3d / tracktype.cpp
index d76e8ebe6bfcb136b54c965ce593abf9bba01cfe..1196b32ce18b7eb161f87e4c64487fcf45207378 100644 (file)
@@ -105,6 +105,7 @@ TrackType3D::TrackType3D(Catalogue3D &cat3d, const TrackType &tt):
                        build_part(*i, rail_profile, Point(gauge/2-rail_min.x, y), bld, index);
        }
 
+       mesh.set_winding(&GL::WindingTest::counterclockwise());
        object.set_mesh(&mesh);
        object.set_technique(catalogue.get<GL::Technique>(cat.get_track_technique()));