math.asin
From GMod Wiki
| Function | |
| Syntax |
math.asin( Float number ) Where is this used? |
| Description: | |
| Returns the arc sine of x (in radians). | |
| Returns: | Float |
| Part of Library: | Math |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Math.asin]Math.asin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Return the inverse sine of the given value. |
|---|---|
| Used on | |
| Code | print(math.asin(0)) //0 print(math.asin(1)) //1.5707963267949 |
| Output | 0 and 1.5707963267949 |