linearly v0.32.0Docs


linearly v0.32.0 / vec4 / radians

Function: radians()

radians(deg): vec4

Converts the components of a vec2 from degrees to radians

Parameters

deg: vec4

The input vec2 in degrees

Returns

vec4

The radians equivalent of the input

Shorthands

Defined in

src/vec4.ts:756open in new window