public FBoxSphereBounds(FBox box) { box.GetCenterAndExtents(out Origin, out BoxExtent); SphereRadius = BoxExtent.Size(); }
public bool Equals(FBox other) { return(Min.Equals(other.Min) && Max.Equals(other.Max)); }
public FBoxSphereBounds(FBox box, FSphere sphere) { box.GetCenterAndExtents(out Origin, out BoxExtent); SphereRadius = Min(BoxExtent.Size(), (sphere.Center - Origin).Size() + sphere.W); }
public FBox(FBox box) { Min = box.Min; Max = box.Max; IsValid = box.IsValid; }