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.
21 lines
583 B
Markdown
21 lines
583 B
Markdown
10 years ago
|
## Acos
|
||
|
Return the arccosine of the parameter
|
||
|
|
||
10 years ago
|
### Declaration
|
||
10 years ago
|
```glsl
|
||
|
float acos(float x)
|
||
|
vec2 acos(vec2 x)
|
||
|
vec3 acos(vec3 x)
|
||
|
vec4 acos(vec4 x)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
10 years ago
|
```x``` specify the value whose arccosine to return.
|
||
10 years ago
|
|
||
|
### Description
|
||
|
```acos()``` returns the angle whose trigonometric cosine is ```x```.
|
||
|
|
||
|
<div class="simpleFunction" data="y = acos(x); "></div>
|
||
|
|
||
|
### See Also
|
||
9 years ago
|
[cos()](/glossary/?search=cos), [sin()](/glossary/?search=sin), [asin()](/glossary/?search=asin), [tan()](/glossary/?search=tan), [atan()](/glossary/?search=atan), [Chapter 05: Shaping Functions](/05/)
|