double newAlt = location.getAltitude() + delta.z;
// bearing (in radians, clockwise from north);
- // d/R is the angular distance (in radians), where d is the distance traveled and R is the earth’s radius
+ // d/R is the angular distance (in radians), where d is the distance traveled and R is the earth's radius
double d = MathUtil.hypot(delta.x, delta.y);
// Check for zero movement before computing bearing
double newAlt = location.getAltitude() + delta.z;
// bearing (in radians, clockwise from north);
- // d/R is the angular distance (in radians), where d is the distance traveled and R is the earth’s radius
+ // d/R is the angular distance (in radians), where d is the distance traveled and R is the earth's radius
double d = MathUtil.hypot(delta.x, delta.y);
// Check for zero movement before computing bearing