VRageMath.BoundingSphereD.CreateFromBoundingBox - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← BoundingSphereD
public static BoundingSphereD CreateFromBoundingBox(BoundingBoxD box)
Creates the smallest BoundingSphereD that can contain a specified BoundingBoxD.
- BoundingBoxD box
public static void CreateFromBoundingBox(ref BoundingBoxD box, out BoundingSphereD result)
Creates the smallest BoundingSphereD that can contain a specified BoundingBoxD.
- BoundingBoxD box
- BoundingSphereD result