| 57 | } |
| 58 | |
| 59 | UnitVector UnitVector::operator+(const UnitVector& add) const |
| 60 | { |
| 61 | const UnitVector pVec = add.to(unit); |
| 62 | return UnitVector(x + pVec.x, y + pVec.y, unit); |
| 63 | } |
| 64 | |
| 65 | UnitVector& UnitVector::operator+=(const UnitVector& add) |
| 66 | { |
nothing calls this directly
no test coverage detected