Function uniformScale

  • Scales the given 3-by-3 matrix in the X and Y dimension by an amount given.

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix to be modified.

    • s: number

      Amount to scale.

    • Optional dst: T

      matrix to hold result. If not passed a new one is created.

    Returns T

    The scaled matrix.