UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

16 lines 579 B
/** * * Perform rotation on a direction vector using a 4x4 affine transform matrix. * Input is expected to be normalized. * Correctly handles non-uniform scaling. * Output is normalized. * * @param {number[]|Float32Array} output * @param {number} output_offset * @param {number} x * @param {number} y * @param {number} z * @param {number[]|Float32Array} m4 */ export function v3_matrix4_rotate(output: number[] | Float32Array, output_offset: number, x: number, y: number, z: number, m4: number[] | Float32Array): void; //# sourceMappingURL=v3_matrix4_rotate.d.ts.map