math docs
    Preparing search index...

    Function scale

    • Scales the mat2 by the dimensions in the given vec2

      Parameters

      • out: mat2.Mat2

        the receiving matrix

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

        the matrix to rotate

      • v: readonly [number, number]

        the vec2 to scale the matrix by

      Returns mat2.Mat2

      out