Vec2.clamp

Bounds the vector between those two.

  1. Vec2!T clamp(Vec2!T min, Vec2!T max)
    struct Vec2(T)
    const
    clamp
    (
    const Vec2!T min
    ,
    const Vec2!T max
    )
  2. Vec2!T clamp(Vec4!T clip)

Meta