asin(float)

From NWN Lexicon

Gets the arc sine of a value.

float asin(
    float fValue
);
Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

Contents

[edit] Parameters

fValue
Value to get the arc sine of.

[edit] Description

Arc sine is the inverse of the sin() function. Thus, given an fValue that is some ratio of the opposite side to the hypotenuse of a right triangle, asin() returns the appropriate angle (in degrees) of that triangle. asin() returns a value from -90 to 90 or returns zero if fValue is greater than 1 or fValue less than -1.

[edit] Version

1.31

[edit] See Also

functions:  tan


author: Charles Feduke, additional contributor(s): Paul Catalano

Personal tools
Categories