static bool FloatEquals(double x, double y) { return ((x - y).abs()) <= (RaylibConstants.EPSILON*math.max(1.0, math.max(x.abs(), y.abs()))); }