Function uniformScale

  • Scales the given 4-by-4 matrix in each dimension by a uniform scale.

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix to be modified.

    • s: number

      The amount to scale.

    • Optional dst: T

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

    Returns T

    The scaled matrix.