Function uniformScale

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

    Parameters

    • m: Mat4

      The matrix to be modified.

    • s: number

      The amount to scale.

    • Optional dst: Mat4

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

    Returns Mat4

    The scaled matrix.