BEPUphysics.CollisionShapes.ConvexShapes.ConeShape.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)(collisionMargin + Math.Max(.75 * Height, Math.Sqrt(.0625f * Height * Height + Radius * Radius)));
        }