Import std.math.int_vector
Clamp
function
@PanicsAtCaller Public Function Clamp(v: Vec2i, low: Vec2i, high: Vec2i): Vec2i
Each component kept between low's and high's, as Clamp keeps an Int. A component whose low
is above its high panics.
function
@PanicsAtCaller Public Function Clamp(v: Vec3i, low: Vec3i, high: Vec3i): Vec3i
Each component kept between low's and high's, as Clamp keeps an Int. A component whose low
is above its high panics.
Report an issue with this page or with FutureBlitz on GitHub.