| 97 | friend bool fuzzyEqual(const vec4<T>& lhs, const vec4<T>& rhs) { return lhs == rhs; } |
| 98 | |
| 99 | T length2() const { return x*x + y*y + z*z + w*w; } |
| 100 | T length() const { return std::sqrt(x*x + y*y + z*z + w*w); } |
| 101 | void normalize() { *this /= length(); } |
| 102 |
nothing calls this directly
no outgoing calls
no test coverage detected