/**
 * Adds input to output
 * `out += input`
 * @param {number[]|Float32Array|Float64Array} out
 * @param {number} out_offset
 * @param {number[]|Float32Array|Float64Array} input
 * @param {number} input_offset
 */
export function v3_array_immediate_add(out, out_offset, input, input_offset) {

    const x = input[input_offset];
    const y = input[input_offset + 1];
    const z = input[input_offset + 2];

    out[out_offset] += x;
    out[out_offset + 1] += y;
    out[out_offset + 2] += z;

}