/**
 * Row-major ( OpenGL style) matrix multiplication
 * @param {Float32Array|number[]} out
 * @param {number} out_offset
 * @param {number} x
 * @param {number} y
 * @param {Float32Array|number[]} m3
 */
export function v2_matrix3_rm_multiply(
    out, out_offset,
    x, y,
    m3
) {

    const tx = m3[0] * x + m3[3] * y + m3[6];
    const ty = m3[1] * x + m3[4] * y + m3[7];

    out[out_offset] = tx;
    out[out_offset + 1] = ty;
}

