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