Changed arrow colour.

#fix
This commit is contained in:
Calum
2017-09-28 12:02:24 +13:00
parent 5d7f307260
commit 81b2d285e9
@@ -92,11 +92,6 @@ public class BoatObject extends Group {
Math.atan2(boatLoc.getY() - markPoint.getY(), boatLoc.getX() - markPoint.getX())) - 90; Math.atan2(boatLoc.getY() - markPoint.getY(), boatLoc.getX() - markPoint.getX())) - 90;
Double radius = 0.5; Double radius = 0.5;
Double originX = this.getLayoutX();
Double originY = this.getLayoutY();
Double transX = (radius * Math.cos(Math.toRadians(angle)));
Double transY = (radius * Math.sin(Math.toRadians(angle)));
markIndicator.getTransforms().clear(); markIndicator.getTransforms().clear();
markIndicator.getTransforms().addAll( markIndicator.getTransforms().addAll(
new Rotate(angle, new Point3D(0, 0, 1)), new Rotate(angle, new Point3D(0, 0, 1)),