Umbrella tree update

This commit is contained in:
paulevsGitch 2020-12-24 12:40:13 +03:00
parent 113aab6d24
commit 5921317d3e
21 changed files with 159 additions and 16 deletions

View file

@ -101,6 +101,10 @@ public class MHelper {
return (float) Math.sqrt(lengthSqr(x, y, z));
}
public static double length(double x, double y, double z) {
return Math.sqrt(lengthSqr(x, y, z));
}
public static float lengthSqr(float x, float y) {
return x * x + y * y;
}