• Fills buffer with the elements of the 2x2 matrix m, column by column (i.e. [ r0c0, r1c0, r0c1, r1c1 ]).

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

    Type Parameters

    Parameters

    • m: Mat2

      the 2x2 matrix

    • buffer: B

      the buffer to be filled

    Returns B

    buffer, filled with the elemenets of m

Generated using TypeDoc