/**
 * Column-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_cm_multiply(
    out, out_offset,
    x, y,
    m3
) {

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

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