Function invInto

  • b = -a

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

    Parameters

    • a: Vec2

      a 2-element vector object

    • b: Vec2

      a 2-element vector in which to store the result

    Returns Vec2

    b as the inverse of a

Generated using TypeDoc