/// <summary>
        /// Creates and initializes a new instance from the given Box and Sphere.
        /// </summary>
        /// <param name="box">The bounding box.</param>
        /// <param name="sphere">The bounding sphere.</param>
        public FBoxSphereBounds(FBox box, FSphere sphere)
        {
            box.GetCenterAndExtents(out Origin, out BoxExtent);
            SphereRadius = FMath.Min(BoxExtent.Size(), (sphere.Center - Origin).Size() + sphere.W);

            DiagnosticCheckNaN();
        }
        /// <summary>
        /// Creates and initializes a new instance for the given sphere.
        /// </summary>
        public FBoxSphereBounds(FSphere sphere)
        {
            Origin       = sphere.Center;
            BoxExtent    = new FVector(sphere.W);
            SphereRadius = sphere.W;

            DiagnosticCheckNaN();
        }