BEPUphysics.CollisionShapes.ConvexShapes.BoxShape.ComputeMaximumRadius C# (CSharp) Метод

ComputeMaximumRadius() публичный Метод

Computes the maximum radius of the shape. This is often larger than the actual maximum radius; it is simply an approximation that avoids underestimating.
public ComputeMaximumRadius ( ) : float
Результат float
        public override float ComputeMaximumRadius()
        {
            return (float)Math.Sqrt(halfWidth * halfWidth + halfHeight * halfHeight + halfLength * halfLength);
        }