Changed 3d arrow to point downwards #story[1299]
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user