BEPUphysics.CollisionShapes.ConvexShapes.CylinderShape.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(radius * radius + halfHeight * halfHeight);
        }