MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / operator==

Method operator==

include/reactphysics3d/mathematics/Vector2.h:232–234  ·  view source on GitHub ↗

Overloaded operator for the equality condition

Source from the content-addressed store, hash-verified

230
231// Overloaded operator for the equality condition
232RP3D_FORCE_INLINE bool Vector2::operator== (const Vector2& vector) const {
233 return (x == vector.x && y == vector.y);
234}
235
236// Overloaded operator for the is different condition
237RP3D_FORCE_INLINE bool Vector2::operator!= (const Vector2& vector) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected