MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / operator <

Method operator <

jni/venus/vec4.h:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected