/**
 *
 * @param {ArrayLike<number>|Float32Array|number[]} result
 * @param {number} result_offset
 * @param {number} x0
 * @param {number} y0
 * @param {number} x1
 * @param {number} y1
 */
export function aabb2_array_set(
    result, result_offset,
    x0, y0,
    x1, y1,
) {

    result[result_offset + 0] = x0;
    result[result_offset + 1] = y0;

    result[result_offset + 2] = x1;
    result[result_offset + 3] = y1;
}