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

Method operator ==

jni/venus/vec2.h:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 bool operator ==(const vec2<T>& rhs) const
93 {
94 if(this == &rhs)
95 return true;
96
97 return fuzzyEqual<T>(x, rhs.x) && fuzzyEqual<T>(y, rhs.y);
98 }
99
100 bool operator !=(const vec2<T>& rhs) const { return !(*this == rhs); }
101 friend bool fuzzyEqual(const vec2<T>& lhs, const vec2<T>& rhs) { return lhs == rhs; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected