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

7 lines
212 B
TypeScript

/**
* Computes the cross product of two vec2's Note that the cross product must by definition produce a 3D vector.
*/
declare function cross(out: number[], a: number[], b: number[]): number[];
export = cross;