Skip to content
FutureBlitz

    Install

    Import std.math.int_vector

    Clamp

    std.math.int_vector

    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.

    std/math/int_vector.fb, line 216

    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.

    std/math/int_vector.fb, line 223

    Report an issue with this page or with FutureBlitz on GitHub.