math docs
    Preparing search index...

    Function invert

    • Inverts a mat2

      Parameters

      • out: mat2.Mat2

        the receiving matrix

      • a: readonly [number, number, number, number]

        the source matrix

      Returns mat2.Mat2 | null

      out, or null if source matrix is not invertible