Conistent order.

This commit is contained in:
asofold 2015-01-30 23:37:41 +01:00
parent ba990054c6
commit ce406f3280

View File

@ -181,8 +181,8 @@ public class TrigUtil {
double off = 0.0D;
off += Math.max(Math.abs(dX - xPrediction) - (targetWidth / 2 + blockPrecision), 0.0D);
off += Math.max(Math.abs(dZ - zPrediction) - (targetWidth / 2 + blockPrecision), 0.0D);
off += Math.max(Math.abs(dY - yPrediction) - (targetHeight / 2 + blockPrecision), 0.0D);
off += Math.max(Math.abs(dZ - zPrediction) - (targetWidth / 2 + blockPrecision), 0.0D);
if (off > 1) off = Math.sqrt(off);