linearly v0.32.0Docs


linearly v0.32.0 / vec4 / rad

Function: rad()

rad(deg): vec4

Alias for radians

Parameters

deg: vec4

The input vec2 in degrees

Returns

vec4

The radians equivalent of the input

Shorthands

Defined in

src/vec4.ts:769open in new window