Function subtractVec2

  • Subtract a vector to another

    Parameters

    • v: Vector2

      The vector to be subtracted from

    • w: Vector2

      The vector to subtract

    Returns Vector2

    The newly created vector containing the subtraction result