Umbrella tree update
This commit is contained in:
parent
113aab6d24
commit
5921317d3e
21 changed files with 159 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue