DefinitelyTyped/types/gl-vec2/sqrDist.d.ts
2019-03-05 18:32:47 +11:00

7 lines
174 B
TypeScript

/**
* Calculates the squared euclidian distance between two vec2's. Aliased as sqrDist.
*/
declare function sqrDist(a: number[], b: number[]): number[];
export = sqrDist;