linearly v0.32.0Docs


linearly v0.32.0 / vec3 / rad

Function: rad()

rad(deg): vec3

Alias for radians

Parameters

deg: vec3

The input vec3 in degrees

Returns

vec3

The radians equivalent of the input

Shorthands

Defined in

src/vec3.ts:886open in new window