BEPUphysics.CollisionShapes.ConvexShapes.SphereShape.ComputeVolume C# (CSharp) Méthode

ComputeVolume() public méthode

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