mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
565 B
565 B
Acos
Return the arccosine of the parameter
Declaration
float acos(float x)
vec2 acos(vec2 x)
vec3 acos(vec3 x)
vec4 acos(vec4 x)
Parameters
x
specify the value whose arccosine to return.
Description
acos()
returns the angle whose trigonometric cosine is x
.
See Also
cos(), sin(), asin(), tan(), atan(), Chapter 05: Shaping Functions