MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator==

Method operator==

src/Core/Transform/UnitVector.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 bool UnitVector::operator==(const UnitVector& vec) const
169 {
170 const UnitVector pVec = vec.to(unit);
171 return (x == pVec.x && y == pVec.y);
172 }
173
174 bool UnitVector::operator!=(const UnitVector& vec) const
175 {

Callers

nothing calls this directly

Calls 1

toMethod · 0.80

Tested by

no test coverage detected