| 67 | // unary operators |
| 68 | vec4<T> operator +() const { return vec4<T>(+x, +y, +z, +w); } |
| 69 | vec4<T> operator -() const { return vec4<T>(-x, -y, -z, -w); } |
| 70 | |
| 71 | // binary operators, multiply and divide operations for scalar |
| 72 | friend vec4<T> operator +(const vec4<T>& lhs, const vec4<T>& rhs) { vec4<T> result(lhs); result += rhs; return result; } |
nothing calls this directly
no outgoing calls
no test coverage detected