Skip to content

Quat

Defined in: types.ts:137

A rotation. Stored as a quaternion because the engine composes transforms with it; for 2D work, quat’s helpers and quaternionToAngle2D are the way in and out of an angle.

w: number

Defined in: types.ts:138


x: number

Defined in: types.ts:139


y: number

Defined in: types.ts:140


z: number

Defined in: types.ts:141