Project Submission (late)
Dependencies: mbed
Diff: Vector2Di/Vector2Di.cpp
- Revision:
- 3:83e79d31930c
- Parent:
- 0:72f372170a73
--- a/Vector2Di/Vector2Di.cpp Fri May 10 10:51:19 2019 +0000 +++ b/Vector2Di/Vector2Di.cpp Fri May 10 14:52:28 2019 +0000 @@ -1,6 +1,7 @@ #include "Vector2Di.h" // Vector manipulation functions +// they are pretty self explanatory (very basic) Vector2Di Vector2Di::operator -() { Vector2Di negV = {x*-1, y*-1}; return negV;