@sstorsveen/maths - v2.0.1
    Preparing search index...

    Module mat2

    mat2 is a collection of functions to manipulate Mat2 2x2 matrix objects.

    The primary use for a Mat2 object is as a 2D rotation matrix.

    A "column-major" ordering is assumed, suitable for e.g. WebGL

    Example usage:

    import * as mat2 from '@spissvinkel/maths/mat2';
    

    Functions

    of
    zero
    id
    setZero
    setId
    setRot
    setInvRot
    setM
    set
    mulM
    mulV
    fill
    equals
    toString