thebookofshaders/glossary/acos
2020-07-30 14:03:05 +07:00
..
README-vi.md Translate glossary section (partly) and swap all/any page 2020-07-30 14:03:05 +07:00
README.md Remove trailing whitespaces 2017-08-23 11:34:44 +02:00

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