export interface XY { x: number; y: number; } export declare class Vector2 implements XY { x: number; y: number; set(x: number, y: number): this; copy(other: XY): this; length(): number; normalize(): this; add(other: XY): this; addXY(x: number, y: number): this; subXY(x: number, y: number): this; sub(other: XY): this; scale(f: number): this; rotate(radians: number): this; /** Rotates the Vector2 by 90 degrees in the specified direction, where >= 0 is counter-clockwise and < 0 is clockwise. */ rotate90(dir: number): this; getAngle(): number; static MakeArray(length: number): Vector2[]; } //# sourceMappingURL=Vector2.d.ts.map