• Fills buffer with the elements of the 4x4 matrix m, column by column (i.e. [ r0c0, r1c0, r2c0, r3c0, r0c1, ..., r3c3 ]).

    The order in which the buffer is filled is suitable for e.g. setting uniform variables in WebGL shader programs

    Type Parameters

    Parameters

    • m: Mat4

      the 4x4 matrix

    • buffer: B

      the buffer to be filled

    Returns B

    buffer, filled with the elemenets of m

Generated using TypeDoc