Function uniformScaling

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

    Type Parameters

    Parameters

    • s: number

      the amount to scale

    • Optional dst: T

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

    Returns T

    The scaling matrix.