Function uniformScaling

  • Creates a 3-by-3 matrix which scales uniformly in each dimension

    Parameters

    • s: number

      Amount to scale

    • Optional dst: Mat3

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

    Returns Mat3

    The scaling matrix.