| 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 | |
| 79 | friend bool operator <(const vec4<T>& lhs, const vec4<T>& rhs) |
| 80 | { |
| 81 | // Operator < and strict weak ordering |
| 82 | if(lhs.x != rhs.x) return lhs.x < rhs.x; |
| 83 | if(lhs.y != rhs.y) return lhs.y < rhs.y; |
| 84 | if(lhs.z != rhs.z) return lhs.z < rhs.z; |
| 85 | if(lhs.w != rhs.w) return lhs.w < rhs.w; |
| 86 | return false; |
| 87 | } |
| 88 | |
| 89 | bool operator ==(const vec4<T>& rhs) const |
| 90 | { |
nothing calls this directly
no outgoing calls
no test coverage detected