Constructors
constructor
- new quat(w, x, y, z): quat
Parameters
- w: number
- x: number
- y: number
- z: number
Properties
Methods
dot
- dot(quat): number
Returns number
equal
- equal(b): boolean
Returns boolean
getAngle
- getAngle(): number
Returns number
normalize
- normalize(): void
Returns void
toString
- toString(): string
Returns string
A quaternion, used to represent rotation.