menu
Quaternion
import { Quaternion } from "destack:math";
Quaternion rotation value.
1export struct Quaternion<T: Float> {2 x: T;3 y: T;4 z: T;5 w: T;6}Members
x: TThe vector x component.
y: TThe vector y component.
z: TThe vector z component.
w: TThe scalar component.