GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2015-06-30 23:17:43

GameGoblin
GameGoblin
From: India
Registered: 2015-06-30
Posts: 8
Website

sphere_volume()

Expand///sphere_volume(radius)
//Returns the volume of sphere of radius fed as argument[0].
///GMLscripts.com/license

return (4/3 * pi * argument[0] * argument[0] * argument[0]);

This is my first script submission to the forums - Kindly be gentle!

Regards,
GameGoblin

Offline

#2 2015-06-30 23:48:08

xot
Administrator
Registered: 2007-08-18
Posts: 1,240

Re: sphere_volume()

Welcome to the forums and thanks for the submission. I'll be adding it tonight.


Abusing forum power since 1986.

Offline

Board footer

Powered by FluxBB