/**
 *
 * @param {number[]|Float64Array|Float32Array} result
 * @param {number} result_offset
 * @param {number} x
 * @param {number} y
 * @param {number} z
 * @param {number} scalar
 */
export function v3_multiply_scalar(
    result, result_offset,
    x, y, z, scalar
) {

    result[result_offset] = x * scalar;
    result[result_offset + 1] = y * scalar;
    result[result_offset + 2] = z * scalar;

}