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