Removed unused class.

This commit is contained in:
Tobias Ottenweller 2013-02-17 14:59:40 +01:00
parent db173521e4
commit 9ce65ed26d

View File

@ -1,16 +0,0 @@
package de.craftinc.gates.util;
import org.bukkit.Location;
public class GeometryUtil
{
// How long between two locations?
public static double distanceBetweenLocations(Location location1, Location location2)
{
double X = location1.getX() - location2.getX();
double Y = location1.getY() - location2.getY();
double Z = location1.getZ() - location2.getZ();
return Math.sqrt(X*X + Y*Y + Z*Z);
}
}