mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
571 B
571 B
Cos
Return the cosine of the parameter
Declaration
float cos(float angle)
vec2 cos(vec2 angle)
vec3 cos(vec3 angle)
vec4 cos(vec4 angle)
Parameters
angle
specify the quantity, in radians, of which to return the cosine.
Description
cos()
returns the trigonometric sine of angle.