You are not logged in.
Pages: 1
///triangle_side_area(side1,side2,side3)
//Returns the area of triangle that has sides side1, side2 and side3 - uses Heron's formula
///http://GMLscripts.com/license
var s = (argument[0] + argument[1] + argument[2])/2;
return (sqrt(s * (s-argument[0]) * (s-argument[1]) * (s-argument[2])));
Regards,
GameGoblin
Offline
Thanks again. I edited your first post with the correctly version and have already added your scripts to the site.
Abusing forum power since 1986.
Offline
Pages: 1