Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / quat

Function: quat() โ€‹

quat(axis, angleDeg): Quat

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

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

Parameters โ€‹

axis โ€‹

Axis

angleDeg โ€‹

number

Returns โ€‹

Quat

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.