You are currently viewing the gmlscripts.pro static mirror. Forum access and script submissions are not available through this mirror.

Invert gmlscripts.pro

sphere_volume

Returns the volume of a sphere of a given radius.

sphere_volume(radius)
Returns the volume of a sphere of a given radius.
COPY/// sphere_volume(radius)
//
//  Returns the volume of a sphere of a given radius.
//
//      radius      radius of sphere
//
///gmlscripts.pro/license
{
    return (4/3 * pi * argument0 * argument0 * argument0);
}

Contributors: GameGoblin

GitHub: View · Commits · Blame · Raw