clamp

Component-wise clamping of values, similar to [u32::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 : UVec3 - No Documentation 🚧
  • min : UVec3 - No Documentation 🚧
  • max : UVec3 - No Documentation 🚧

Returns

  • arg0 : UVec3 - No Documentation 🚧