| 78 | friend vec2<T> operator +(const vec2<T>& lhs, const vec2<T>& rhs) { vec2<T> result(lhs); result += rhs; return result; } |
| 79 | friend vec2<T> operator -(const vec2<T>& lhs, const vec2<T>& rhs) { vec2<T> result(lhs); result -= rhs; return result; } |
| 80 | friend vec2<T> operator *(const vec2<T>& lhs, T value) { return vec2<T>(lhs.x*value, lhs.y*value); } |
| 81 | friend vec2<T> operator *(T value, const vec2<T>& rhs) { return vec2<T>(rhs.x*value, rhs.y*value); } |
| 82 | friend vec2<T> operator /(const vec2<T>& lhs, T value) { return vec2<T>(lhs.x/value, lhs.y/value); } |
| 83 | /** @} */ |
nothing calls this directly
no outgoing calls
no test coverage detected