mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Initial work on calculating when a gate is upwind or downwind
Need to know if a gate is upwind or downwind to use the appropriate polar table Currently calculate the angle between the next mark and the vector of the current mark to the wind, if this angle is less than 90 degrees than the next mark should be down wind Pretty poor implementation currently, just prototype Doesn't appear to be working as intended currently. Just a prototype for how we could implement further tags: #story[956]
This commit is contained in:
@@ -114,6 +114,9 @@ public class MarkGroup extends Group {
|
||||
}
|
||||
super.getChildren().add(line);
|
||||
|
||||
//Laylines
|
||||
// if (mark.)
|
||||
|
||||
addLayLine(points1, 12.0, 90.0);
|
||||
addLayLine(points2, 12.0, 90.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user