Bitbybit Docs
    Preparing search index...

    Variable vectorConst

    vector: Bit.Vector

    Vector arithmetic in 2D and 3D: add, subtract, scale, dot and cross products, normalisation, length, angle between, projection and interpolation. Vectors are plain number arrays, so anything here composes with the geometry APIs without conversion. Use it for directions, normals, offsets and any math that drives where geometry goes rather than what it is.