Skip to content

helix / quat

Function: quat()

quat(axis, angleDeg): Quat

Defined in: core/values/transform-math.ts:45

Axis-angle (degrees) to a unit quaternion [x, y, z, w].

Parameters

axis

Axis

angleDeg

number

Returns

Quat

Released under the MIT License · Credits