| 73 | friend vec4<T> operator -(const vec4<T>& lhs, const vec4<T>& rhs) { vec4<T> result(lhs); result -= rhs; return result; } |
| 74 | // friend vec4<T> operator *(const vec4<T>& lhs, const vec4<T>& rhs) { return vec4<T>(lhs.x*rhs.x, lhs.y*rhs.y, lhs.z*rhs.z, lhs.w*rhs.w); } |
| 75 | friend vec4<T> operator *(const vec4<T>& lhs, T value) { return vec4<T>(lhs.x*value, lhs.y*value, lhs.z*value, lhs.w*value); } |
| 76 | friend vec4<T> operator *(T value, const vec4<T>& rhs) { return vec4<T>(rhs.x*value, rhs.y*value, rhs.z*value, rhs.w*value); } |
| 77 | friend vec4<T> operator /(const vec4<T>& lhs, T value) { return vec4<T>(lhs.x/value, lhs.y/value, lhs.z/value, lhs.w/value); } |
| 78 |
nothing calls this directly
no outgoing calls
no test coverage detected