sk-zk / TruckLib

create & modify ETS2 / ATS maps
https://sk-zk.github.io/trucklib/master/
GNU General Public License v2.0
18 stars 7 forks source link

Sample RealRoad GetPointsElevation() mixed points #4

Closed gsus24 closed 4 months ago

gsus24 commented 4 months ago

Hi

did check out the new sample with a big route road.csv

Seems to be a bug at https://github.com/sk-zk/TruckLib/blob/b258f1f8f881c68db2b3c6409a43ce4b40e13fad/Samples/02-RealRoad/ElevationProvider.cs#L27

GetPointsElevation() returns the points back in wrong order.

Maybe you can check out with the route above. Its a curcuit and start/end point differ in height. There are multiple rows which slipped.

gsus24 commented 4 months ago

Thanks alot for the update. Great job

Is there a discord channel for this project?