Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 571 Bytes

cos.md

File metadata and controls

21 lines (16 loc) · 571 Bytes

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.

See Also

acos, sin, asin, tan, atan, Chapter 05: Shaping Functions