Skip to content

Commit

Permalink
fix incorrect ordering of parametres
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Dec 5, 2024
1 parent 7f296cb commit 976e4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maple/gtfs_handlers/hull_from_gtfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub fn buffer_geo_polygon(

// calculate the new point

let new_point = centre.rhumb_destination(distance + distance_metres, bearing);
let new_point = centre.rhumb_destination(bearing, distance + distance_metres);

points.push(new_point);
}
Expand Down

0 comments on commit 976e4e1

Please sign in to comment.