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

Method operator <

jni/venus/vec3.h:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 friend vec3<T> operator /(const vec3<T>& lhs, T value) { return vec3<T>(lhs.x/value, lhs.y/value, lhs.z/value); }
88
89 friend bool operator <(const vec3<T>& lhs, const vec3<T>& rhs)
90 {
91 // Operator < and strict weak ordering
92 if(lhs.x != rhs.x) return lhs.x < rhs.x;
93 if(lhs.y != rhs.y) return lhs.y < rhs.y;
94 if(lhs.z != rhs.z) return lhs.z < rhs.z;
95
96 return false;
97 }
98
99 bool operator ==(const vec3<T>& rhs) const
100 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected