UNPKG

@rjfwhite/random-lib

Version:

Core engine for MML

23 lines 557 B
import { Matr4Data } from "./Matr4"; export type IVect3 = { x: number; y: number; z: number; }; export declare class Vect3 { x: number; y: number; z: number; constructor(x?: number | IVect3, y?: number, z?: number); copy(other: IVect3): this; length(): number; lengthSquared(): number; clone(): Vect3; set(x: number, y: number, z: number): this; applyMatrix4(matrix: { data: Matr4Data; }): this; add(other: IVect3): this; sub(other: IVect3): this; } //# sourceMappingURL=Vect3.d.ts.map