equal
deleted
inserted
replaced
1 #include "Dimension.hh" |
1 #include "Dimension.hh" |
2 |
2 |
3 std::ostream& operator<< (std::ostream &s, const Coordinate &c) { |
3 std::ostream& operator<< (std::ostream &s, const Coordinate &c) { |
4 s << "(" << c.x << ", " << c.y << ")"; |
4 s << "(" << c.x << ", " << c.y << ")"; |
5 |
5 |
6 return s; |
6 return s; |
7 } |
7 } |
8 |
8 |
9 std::ostream& operator<< (std::ostream &s, const PositionDelta &c) { |
9 std::ostream& operator<< (std::ostream &s, const PositionDelta &c) { |
10 s << "(" << c.dx << ", " << c.dy << ")"; |
10 s << "(" << c.dx << ", " << c.dy << ")"; |
11 |
11 |
12 return s; |
12 return s; |
13 } |
13 } |
14 |
14 |