Vector.clamp

Clamps vector values

  1. VecType clamp(VecType p_min, VecType p_max)
    struct Vector(T, size_t N)
    if (
    isNumeric!T &&
    N > 0
    )
  2. VecType clamp(T p_min, T p_max)

Meta