thebookofshaders/glossary/asin/README.md

21 lines
567 B
Markdown
Raw Normal View History

2015-04-17 04:52:51 +00:00
## Asin
Return the arcsine of the parameter
2015-04-18 14:41:34 +00:00
### Declaration
2015-04-17 04:52:51 +00:00
```glsl
float asin(float x)
vec2 asin(vec2 x)
vec3 asin(vec3 x)
vec4 asin(vec4 x)
```
### Parameters
2015-04-18 14:41:34 +00:00
```x``` specify the value whose arcsine to return.
2015-04-17 04:52:51 +00:00
### Description
```asin()``` returns the angle whose trigonometric sine is ```x```.
<div class="simpleFunction" data="y = asin(x); "></div>
### See Also
2016-04-06 15:44:45 +00:00
[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/)