linearly v0.32.0Docs


linearly v0.32.0 / vec3 / radians

Function: radians()

radians(deg): vec3

Converts the components of a vec3 from degrees to radians

Parameters

deg: vec3

The input vec3 in degrees

Returns

vec3

The radians equivalent of the input

Shorthands

Defined in

src/vec3.ts:874open in new window