| 71 | } |
| 72 | |
| 73 | UnitVector UnitVector::operator-(const UnitVector& sub) const |
| 74 | { |
| 75 | const UnitVector pVec = sub.to(unit); |
| 76 | return UnitVector(x - pVec.x, y - pVec.y, unit); |
| 77 | } |
| 78 | |
| 79 | UnitVector& UnitVector::operator-=(const UnitVector& sub) |
| 80 | { |
nothing calls this directly
no test coverage detected