Added new polar function, currently it does not distinguish between up wind and downwind and doesn't find it in the correct quadrant #story[1186]

This commit is contained in:
Fan-Wu Yang
2017-08-31 17:39:17 +12:00
parent 7086af6057
commit 9a5d20bdf2
5 changed files with 68 additions and 20 deletions
@@ -45,4 +45,8 @@ public class VMG {
return bearing;
}
public String toString(){
return String.format("VMG Object: Speed %f, Bearing %f.", speed, bearing.degrees());
}
}