| 101 | friend bool fuzzyEqual(const vec2<T>& lhs, const vec2<T>& rhs) { return lhs == rhs; } |
| 102 | |
| 103 | T length2() const { return x*x + y*y; } |
| 104 | T length() const { return std::sqrt(x*x + y*y); } |
| 105 | void normalize() { *this /= length(); } |
| 106 |
nothing calls this directly
no outgoing calls
no test coverage detected