Skip to content
FutureBlitz

    Install

    Import std.math.vector

    Cross

    std.math.vector

    function

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

    The Z of the two as 3D vectors' Cross: above 0 when b turns counterclockwise from a.

    std/math/vector.fb, line 272

    function

    Public Function Cross(a: Vec3, b: Vec3): Vec3

    The vector at right angles to both, by the right-hand rule: Cross(Right, Up) is Back, and its length is the area of the parallelogram the two make.

    std/math/vector.fb, line 276

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