Function uniformScale

  • Scales the given 3-by-3 matrix in each dimension by an amount given.

    Parameters

    • m: Mat3

      The matrix to be modified.

    • s: number

      Amount to scale.

    • Optional dst: Mat3

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

    Returns Mat3

    The scaled matrix.