Function uniformScaling

  • Creates a 4-by-4 matrix which scales a uniform amount in each dimension.

    Parameters

    • s: number

      the amount to scale

    • Optional dst: Mat4

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

    Returns Mat4

    The scaling matrix.