mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added booleans: has entered rounding zone, has crossed first line, has crossed second line
All for purposes of checking mark rounding. Currently not yet finished tags: #story[1124] #pair[hyi25, wmu16]
This commit is contained in:
@@ -96,8 +96,9 @@ public class GeoUtility {
|
||||
return new GeoPoint(Math.toDegrees(endLat), Math.toDegrees(endLng));
|
||||
}
|
||||
|
||||
/**
|
||||
* Performs the line function on two points of a line and a test point to test which side of the line that point is
|
||||
|
||||
/**
|
||||
* Performs the line function on two points of a line and a test point to test which side of the line that point is
|
||||
* on. If the return value is
|
||||
* return 1, then the point is on one side of the line,
|
||||
* return -1 then the point is on the other side of the line
|
||||
|
||||
Reference in New Issue
Block a user