Skip to content
FutureBlitz

    Install

    Import std.math.vector

    DistanceSquared

    std.math.vector

    function

    Public Function DistanceSquared(a: Vec2, b: Vec2): Float

    The distance times itself, which takes no square root, for comparing distances, in Floats.

    std/math/vector.fb, line 311

    function

    Public Function DistanceSquared(a: Vec3, b: Vec3): Float

    How far apart a and b are, times itself, which takes no square root.

    std/math/vector.fb, line 313

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