@koreez/phaser3-isometric-plugin
Version:
Phaser3 isometirc plugin
20 lines (19 loc) • 792 B
TypeScript
export declare class Point3 {
x: number;
y: number;
z: number;
constructor(x?: number, y?: number, z?: number);
copyFrom(source: any): Point3;
copyTo(dest: any): object;
equals(a: Point3 | any): boolean;
setTo(x: number, y: number, z: number): this;
add(x: number, y: number, z: number): this;
subtract(x: number, y: number, z: number): this;
multiply(x: number, y: number, z: number): this;
divide(x: number, y: number, z: number): this;
static add(a: Point3, b: Point3, out?: Point3): Point3;
static subtract(a: Point3, b: Point3, out?: Point3): Point3;
static multiply(a: Point3, b: Point3, out?: Point3): Point3;
static divide(a: Point3, b: Point3, out?: Point3): Point3;
static equals(a: Point3, b: Point3): boolean;
}