| 85 | } |
| 86 | |
| 87 | UnitVector UnitVector::operator*(const UnitVector& mul) const |
| 88 | { |
| 89 | const UnitVector pVec = mul.to(unit); |
| 90 | return UnitVector(x * pVec.x, y * pVec.y, unit); |
| 91 | } |
| 92 | |
| 93 | UnitVector& UnitVector::operator*=(const UnitVector& mul) |
| 94 | { |
nothing calls this directly
no test coverage detected