more precise comment
This commit is contained in:
parent
9a1a99bec2
commit
57b6c21413
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ public class RoutingHelper {
|
|||
}
|
||||
}
|
||||
|
||||
// 4. >60m away from current routeNode? Then re-calculate route.
|
||||
// 4. >60m off current route (sideways)? Then re-calculate route.
|
||||
if(currentRoute > 0){
|
||||
float bearingRoute = routeNodes.get(currentRoute - 1).bearingTo(routeNodes.get(currentRoute));
|
||||
float bearingToRoute = currentLocation.bearingTo(routeNodes.get(currentRoute));
|
||||
|
|
Loading…
Reference in a new issue