cone_volume
Returns the volume of a cone of a given radius and height.
- cone_volume(radius,height)
- Returns the volume of a cone of a given radius and height.
COPY/// cone_volume(radius,height)
//
// Returns the volume of a cone of a given radius and height.
//
// radius radius of cone, real
// height height of cone, real
//
/// gmlscripts.pro/license
{
return (1/3 * pi * argument0 * argument0 * argument1);
}
Contributors: GameGoblin
GitHub: View · Commits · Blame · Raw