Constructors
constructor
- new Quat(a, b, c, d): Quat
Parameters
- a: number
- b: number
- c: number
- d: number
Properties
Methods
angle
- angle(): number
Returns number
cutface
- cutface(face): null | Quat[][]
Returns null | Quat[][]
cutfaces
- cutfaces(faces): Quat[][]
Returns Quat[][]
det3x3
- det3x3(a00, a01, a02, a10, a11, a12, a20, a21, a22): number
Parameters
- a00: number
- a01: number
- a02: number
- a10: number
- a11: number
- a12: number
- a20: number
- a21: number
- a22: number
Returns number
dist
- dist(q): number
Returns number
dot
- dot(q): number
Returns number
faceside
- faceside(face): number
Returns number
intersect3
- intersect3(p2, p3): false | Quat
Returns false | Quat
len
- len(): number
Returns number
sameplane
- sameplane(p): boolean
Returns boolean
side
- side(x): number
Returns number
toString
- toString(): string
Returns string
Cuts a face by this plane, or returns null if there is no intersection.