• a = -a

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

    Parameters

    • a: Vec2

      a 2-element vector object

    Returns Vec2

    a as its inverse

Generated using TypeDoc