UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

9 lines 440 B
/** * Transposes a 2x2 matrix, stored in a flattened array. * * @param {number[]} out Output: The transposed matrix. Can be the same array as `m`. * @param {number[]} m Input: The 2x2 matrix to transpose, stored as a flattened array [a, b, c, d], representing [[a, c], [b, d]]. * @returns {number[]} The `out` parameter. */ export function m2_transpose(out: number[], m: number[]): number[]; //# sourceMappingURL=m2_transpose.d.ts.map