linearly v0.32.0Docs


linearly v0.32.0 / vec2 / radians

Function: radians()

radians(deg): vec2

Converts the components of a vec2 from degrees to radians

Parameters

deg: vec2

The input vec2 in degrees

Returns

vec2

The radians equivalent of the input

Shorthands

Defined in

src/vec2.ts:715open in new window