mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed a bug where an error was caused when attempting to flip the race around the prime meridian.
All x values are now flipped horizontally if the difference between the smallest lon, e.g. -179.5 and the largest e.g. 179.5 is greater than 180. #story[923] #bug
This commit is contained in:
@@ -152,7 +152,7 @@ public class Race {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a boat as finished
|
* Set a boat as finished
|
||||||
* @param boat The boat that has finished the race/home/cosc/student/wmu16
|
* @param boat The boat that has finished the race
|
||||||
*/
|
*/
|
||||||
public void setBoatFinished(Yacht boat){
|
public void setBoatFinished(Yacht boat){
|
||||||
this.finishingOrder.add(boat);
|
this.finishingOrder.add(boat);
|
||||||
|
|||||||
Reference in New Issue
Block a user