| 82 | friend vec3<T> operator +(const vec3<T>& lhs, const vec3<T>& rhs) { vec3<T> result(lhs); result += rhs; return result; } |
| 83 | friend vec3<T> operator -(const vec3<T>& lhs, const vec3<T>& rhs) { vec3<T> result(lhs); result -= rhs; return result; } |
| 84 | friend vec3<T> operator *(const vec3<T>& lhs, const vec3<T>& rhs) { return vec3<T>(lhs.x*rhs.x, lhs.y*rhs.y, lhs.z*rhs.z); } |
| 85 | friend vec3<T> operator *(const vec3<T>& lhs, T value) { return vec3<T>(lhs.x*value, lhs.y*value, lhs.z*value); } |
| 86 | friend vec3<T> operator *(T value, const vec3<T>& rhs) { return vec3<T>(rhs.x*value, rhs.y*value, rhs.z*value); } |
| 87 | friend vec3<T> operator /(const vec3<T>& lhs, T value) { return vec3<T>(lhs.x/value, lhs.y/value, lhs.z/value); } |
nothing calls this directly
no outgoing calls
no test coverage detected