import { Vector } from "https://deno.land/x/caviar@2.6.9/mod.ts";
Methods
add(src: IVector | IVectorLike | Vector): Vector
angle(): number
copy(src: IVector | IVectorLike | Vector): Vector
cross(src: IVector | IVectorLike | Vector): number
distance(src: IVector | IVectorLike | Vector): number
distanceSq(src: IVector | IVectorLike | Vector): number
divide(src: IVector | IVectorLike | Vector): Vector
dot(src: IVector | IVectorLike | Vector): number
equals(v: IVector | IVectorLike | Vector): boolean
fuzzyEquals(v: IVector | IVectorLike, epsilon?): boolean
length(): number
lengthSq(): number
lerp(src: IVector | IVectorLike | Vector, t?): Vector
multiply(src: IVector | IVectorLike | Vector): Vector
setAngle(angle: number)
setToPolar(azimuth: number, radius?): Vector
subtract(src: IVector | IVectorLike | Vector): Vector