Skip to content
FutureBlitz

    Install

    Import std.math.int_vector

    ChebyshevDistance

    std.math.int_vector

    function

    @PanicsAtCaller Public Function ChebyshevDistance(a: Vec2i, b: Vec2i): Int

    How many steps go from a to b where a diagonal is one step too: the chessboard distance.

    std/math/int_vector.fb, line 195

    function

    @PanicsAtCaller Public Function ChebyshevDistance(a: Vec3i, b: Vec3i): Int

    How many steps go from a to b where a diagonal is one step too: the chessboard distance.

    std/math/int_vector.fb, line 199

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