| 104 | } |
| 105 | bool operator !=(const vec3<T>& rhs) const { return !(*this == rhs); } |
| 106 | friend bool fuzzyEqual(const vec3<T>& lhs, const vec3<T>& rhs) { return lhs == rhs; } |
| 107 | |
| 108 | T length2() const { return x*x + y*y + z*z; } |
| 109 | T length() const { return std::sqrt(x*x + y*y + z*z); } |
nothing calls this directly
no outgoing calls
no test coverage detected