mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-09 19:10:24 +00:00
22 lines
568 B
Markdown
22 lines
568 B
Markdown
## Asin
|
|
Return the arcsine of the parameter
|
|
|
|
### Declaration
|
|
```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](/glossary/?search=cos), [sin](/glossary/?search=sin), [acos](/glossary/?search=acos), [tan](/glossary/?search=tan), [atan](/glossary/?search=atan), [Chapter 05: Shaping Functions](/05/)
|