| 90 | } |
| 91 | |
| 92 | bool operator ==(const vec2<T>& rhs) const |
| 93 | { |
| 94 | if(this == &rhs) |
| 95 | return true; |
| 96 | |
| 97 | return fuzzyEqual<T>(x, rhs.x) && fuzzyEqual<T>(y, rhs.y); |
| 98 | } |
| 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; } |
nothing calls this directly
no outgoing calls
no test coverage detected