import com.badlogic.gdx.math.Vector2;
public class GeometryUtils {
public static float distanceBetweenPoints(Vector2 point1, Vector2 point2) {
return point1.dst(point2);
}
public static void main(String[] args) {
Vector2 point1 = new Vector2(0, 0);
Vector2 point2 = new Vector2(3, 4);
float distance = distanceBetweenPoints(point1, point2);
System.out.println("Distance between the points: " + distance);
}
}