BEPUphysics.CollisionShapes.ConvexShapes.CapsuleShape.ComputeVolume C# (CSharp) Method

ComputeVolume() public method

Computes the volume of the shape.
public ComputeVolume ( ) : float
return float
        public override float ComputeVolume()
        {
            return (float)(Math.PI * Radius * Radius * Length + 1.333333 * Math.PI * Radius * Radius * Radius);
        }