X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftracktype.cpp;fp=source%2F3d%2Ftracktype.cpp;h=1196b32ce18b7eb161f87e4c64487fcf45207378;hb=949b13aae247fa53579ec1cda9142ccc8755acde;hp=d76e8ebe6bfcb136b54c965ce593abf9bba01cfe;hpb=4b7008978ce5b67e7e1db14b4a359e4ab1881bbd;p=r2c2.git diff --git a/source/3d/tracktype.cpp b/source/3d/tracktype.cpp index d76e8eb..1196b32 100644 --- a/source/3d/tracktype.cpp +++ b/source/3d/tracktype.cpp @@ -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(cat.get_track_technique()));