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

    Function inv

    • a = -a

      Calculates the inverse of the 3-element vector a and stores the result in a

      Parameters

      • a: Vec3

        a 3-element vector object

      Returns Vec3

      a as its inverse