MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / operator ==

Method operator ==

olcPixelGameEngine.h:744–747  ·  view source on GitHub ↗

Compare if this vector is numerically equal to another

Source from the content-addressed store, hash-verified

742
743 // Compare if this vector is numerically equal to another
744 inline constexpr bool operator == (const v_2d& rhs) const
745 {
746 return (this->x == rhs.x && this->y == rhs.y);
747 }
748
749 // Compare if this vector is not numerically equal to another
750 inline constexpr bool operator != (const v_2d& rhs) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected