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

    Function cross

    • c = a × b

      Calculates the cross product of the 3-element vectors a and b, and stores the result in the 3-element vector c

      Parameters

      • a: Vec3

        a 3-element vector object

      • b: Vec3

        a 3-element vector object

      • c: Vec3

        a 3-element vector in which to store the result

      Returns Vec3

      c as the cross product of a and b