asin(float)
From NWN Lexicon
Gets the arc sine of a value.
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