Merged master.
This commit is contained in:
@@ -395,7 +395,7 @@ public class ResizableRaceCanvas extends ResizableCanvas {
|
|||||||
*/
|
*/
|
||||||
private void drawSails(VisualiserBoat boat) {
|
private void drawSails(VisualiserBoat boat) {
|
||||||
GraphCoordinate boatPos =
|
GraphCoordinate boatPos =
|
||||||
this.map.convertGPS(boat.getCurrentPosition());
|
this.map.convertGPS(boat.getPosition());
|
||||||
double xPos = boatPos.getX(); // x pos of sail (on boat)
|
double xPos = boatPos.getX(); // x pos of sail (on boat)
|
||||||
double yPos = boatPos.getY() - 6; // y pos of sail (on boat)
|
double yPos = boatPos.getY() - 6; // y pos of sail (on boat)
|
||||||
double boatBearing = boat.getBearing().degrees();
|
double boatBearing = boat.getBearing().degrees();
|
||||||
|
|||||||
Reference in New Issue
Block a user