clamp

Component-wise clamping of values, similar to [u64::clamp]. Each element in min must be less-or-equal to the corresponding element in max.

Panics

Will panic if min is greater than max when glam_assert is enabled.

Arguments

  • _self : U64Vec2 - No Documentation 🚧
  • min : U64Vec2 - No Documentation 🚧
  • max : U64Vec2 - No Documentation 🚧

Returns

  • arg0 : U64Vec2 - No Documentation 🚧