public bool FuzzyEquals(FlightPoint other) { if (other == Vector3.Zero) { return(false); } return(other.Location.Distance3D(Location) < 0.8f || (Math.Abs(other.Location.X - Location.X) < float.Epsilon && Math.Abs(other.Location.Z - Location.Z) < float.Epsilon)); }
public bool FuzzyEquals(FlightPoint other) { if (other == Vector3.Zero) { return false; } return other.Location.Distance3D(Location) < 0.8f || (Math.Abs(other.Location.X - Location.X) < float.Epsilon && Math.Abs(other.Location.Z - Location.Z) < float.Epsilon); }