UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

13 lines 377 B
/** * * @param {number[]|Float32Array|Int32Array} a * @param {number} a_offset * @param {number[]|Float32Array|Int32Array} b * @param {number} b_offset */ export function v3_array_equals(a, a_offset, b, b_offset) { return a[a_offset] === b[b_offset] && a[a_offset + 1] === b[b_offset + 1] && a[a_offset + 2] === b[b_offset + 2] ; }