End Caves

This commit is contained in:
paulevsGitch 2020-10-09 10:46:54 +03:00
parent ae676cfc86
commit e3c402f13e
8 changed files with 184 additions and 31 deletions

View file

@ -93,6 +93,10 @@ public class MHelper {
return (float) Math.sqrt(lengthSqr(x, y));
}
public static double length(double x, double y) {
return Math.sqrt(lengthSqr(x, y));
}
public static float dot(float x1, float y1, float z1, float x2, float y2, float z2) {
return x1 * x2 + y1 * y2 + z1 * z2;
}