Changed 3d arrow to point downwards #story[1299]

This commit is contained in:
Joseph Gardner
2017-09-27 11:39:12 +13:00
parent 569204b771
commit 26e2035ea2
@@ -99,17 +99,17 @@ public class NextMarkController {
}
private double calculateXRotate(double zRotation) {
if (zRotation > 360) {
zRotation -=360;
} else if (zRotation < 0) {
zRotation += 360;
}
// if (zRotation > 360) {
// zRotation -=360;
// } else if (zRotation < 0) {
// zRotation += 360;
// }
//
// if (zRotation > 180) {
// zRotation = 360 - zRotation;
// }
if (zRotation > 180) {
zRotation = 360 - zRotation;
}
return 110;
// return 90 - 20 * Math.cos(Math.toRadians(zRotation));
return 70;
//return 90 - 20 * Math.cos(Math.toRadians(zRotation));
}
}