VEX Dictionary / cos
cos
Computes the cosine of a float or each component of a vector.
group: mathmathtrig
Available in every context
Usage
float cos(float n)
vector2 cos(vector2 n )
vector cos(vector n )
vector4 cos(vector4 n )
Examples
No worked examples yet.
Signatures (from vcc -X)
float cos(float)all contextsvector4 cos(vector4)all contextsvector2 cos(vector2)all contextsvector cos(vector)all contexts