X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftracktype.cpp;h=a1ffc361f4e29aef712678228504109c1f11bf01;hb=3907520897611cb1b5f2f938c60d3eaff34477a5;hp=b9ebc73c31708615536549b3e4a771c2a56b5ec1;hpb=5929b101ee38b5668b328e7b1eac4bf49c912412;p=r2c2.git diff --git a/source/3d/tracktype.cpp b/source/3d/tracktype.cpp index b9ebc73..a1ffc36 100644 --- a/source/3d/tracktype.cpp +++ b/source/3d/tracktype.cpp @@ -1,6 +1,7 @@ #include #include #include +#include "libr2c2/trackappearance.h" #include "catalogue.h" #include "tracktype.h" @@ -171,9 +172,6 @@ void TrackType3D::build_ties(const TrackPart &part, const Profile &profile, floa { float plen = part.get_length(); unsigned count = plen/spacing+0.5; - (void)length; - (void)offset; - (void)profile; unsigned n_vertices = profile.get_n_vertices(); float min_y = profile.get_min_coords().y;