linearly v0.32.0Docs


linearly v0.32.0 / vec2 / deg

Function: deg()

deg(rad): vec2

Alias for vec2.degrees

Parameters

rad: vec2

The input vec2 in radians

Returns

vec2

The degrees equivalent of the input

Shorthands

Defined in

src/vec2.ts:705open in new window