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

Function operator >

utilities/olcUTIL_Geometry2D.h:492–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490
491 template<class TL, class TR>
492 inline constexpr bool operator > (const v_2d<TL>& lhs, const v_2d<TR>& rhs)
493 {
494 return (lhs.y > rhs.y) || (lhs.y == rhs.y && lhs.x > rhs.x);
495 }
496
497 // Allow olc::v_2d to play nicely with std::cout
498 template<class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected