soggy.Documentation Back to Soggy ↗

math.cos

Returns the cosine of x (assumed to be in radians).

math.cos(x: number): number

Arguments

NameDescriptionType
xAngle in radians.number

Returns number

Type to search guides, functions and events.