mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-08 01:10:27 +00:00
20 lines
492 B
Markdown
20 lines
492 B
Markdown
## Asin
|
|
Return the arcsine of the parameter
|
|
|
|
```glsl
|
|
float asin(float x)
|
|
vec2 asin(vec2 x)
|
|
vec3 asin(vec3 x)
|
|
vec4 asin(vec4 x)
|
|
```
|
|
|
|
### Parameters
|
|
```x``` Specify the value whose arcsine to return.
|
|
|
|
### Description
|
|
```asin()``` returns the angle whose trigonometric sine is ```x```.
|
|
|
|
<div class="simpleFunction" data="y = asin(x); "></div>
|
|
|
|
### See Also
|
|
[cos](index.html#cos.md), [sin](index.html#sin.md), [acos](index.html#acos.md), [tan](index.html#tan.md), [atan](index.html#atan.md) |