Skip to content

cos

float  cos(float n)

Returns the cosine of n, where n is in radians.

vector2  cos(vector2 n)

vector  cos(vector n)

vector4  cos(vector4 n)

Returns a new vector with cos() applied to each component.