linearly v0.32.0Docs


linearly v0.32.0 / vec2 / degrees

Function: degrees()

degrees(rad): vec2

Converts the components of a vec2 from radians to degrees

Parameters

rad: vec2

The input vec2 in radians

Returns

vec2

The degrees equivalent of the input

Shorthands

Defined in

src/vec2.ts:694open in new window