Actually fixed the wind arrow direction.
This commit is contained in:
@@ -32,7 +32,7 @@ public class NewPolars {
|
|||||||
public static void addPolars(double trueWindSpeed, Bearing trueWindAngle, double boatSpeed){
|
public static void addPolars(double trueWindSpeed, Bearing trueWindAngle, double boatSpeed){
|
||||||
double tws = trueWindSpeed;
|
double tws = trueWindSpeed;
|
||||||
double bs = boatSpeed;
|
double bs = boatSpeed;
|
||||||
double twa = trueWindAngle.degrees();
|
double twa = trueWindAngle.degrees() + 180;
|
||||||
if (!polars.containsKey(tws)){
|
if (!polars.containsKey(tws)){
|
||||||
polars.put(tws, new TreeMap<>());
|
polars.put(tws, new TreeMap<>());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user