linearly v0.32.0Docs


linearly v0.32.0 / vec2 / tan

Function: tan()

tan(deg): vec2

Returns the tangent of a number.

Parameters

deg: vec2

A angle in degrees

Returns

vec2

Defined in

src/vec2.ts:754open in new window