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

    Module mat4

    mat4 is a collection of functions to manipulate Mat4 4x4 matrix objects.

    The primary use for a Mat4 object is as a 3D transformation matrix.

    A "column-major" ordering and a "right-handed" coordinate system is assumed, suitable for e.g. WebGL

    Example usage:

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

    Functions

    of
    zero
    id
    setZero
    setId
    setRotX
    setRotY
    setRotZ
    setRot
    setRotV
    setInvRotV
    setRotXyz
    setRotXyzV
    setInvRotXyzV
    setRotYzx
    setRotYzxV
    setInvRotYzxV
    setRotYxz
    setRotYxzV
    setInvRotYxzV
    setScaleV
    setTrsl
    setTrslV
    setInvTrslV
    setScaleTrsl
    setM
    set
    mulM
    mulMInto
    mulM3
    mulV
    mulV3
    det
    inv
    invInto
    trsp
    trspInto
    fill
    equals
    toString