@sstorsveen/maths - v2.0.1
    Preparing search index...

    Function dot

    • a ยท b

      Calculates the dot product of the 3-element vectors a and b

      Parameters

      • a: Vec3

        a 3-element vector object

      • b: Vec3

        a 3-element vector object

      Returns number

      the dot product of a and b