| 99 | |
| 100 | bool operator !=(const vec2<T>& rhs) const { return !(*this == rhs); } |
| 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); } |
nothing calls this directly
no outgoing calls
no test coverage detected