math docs
    Preparing search index...

    Function scale

    • Scales the mat2d by the dimensions in the given vec2

      Parameters

      • out: mat2d.Mat2d

        the receiving matrix

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

        the matrix to translate

      • v: readonly [number, number]

        the vec2 to scale the matrix by

      Returns mat2d.Mat2d

      out