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

Invert GMLscripts.com

asin

asin(rad,n)
Returns the arcsine of a given angle for the nth repetition.
COPY/// asin(rad,n)
//
//  Returns the arcsine of a given angle for the nth repetition.
//
//      rad         angle, radians, real
//      n           repetition, integer, real
//
/// GMLscripts.com/license
{
    var a,n;
    a = arcsin(argument0);
    n = argument1;
    return a - 2 * n * a + pi * n + floor(n / 2) * 4 * a;
}

Contributors: Leif902, xot

GitHub: View · Commits · Blame · Raw