You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
thebookofshaders/glossary/asin.md

21 lines
549 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](index.html#cos.md), [sin](index.html#sin.md), [acos](index.html#acos.md), [tan](index.html#tan.md), [atan](index.html#atan.md), [Chapter 05: Shaping Functions](../05/)