MCPcopy Create free account
hub / github.com/SpartanJ/eepp / overlap

Method overlap

include/eepp/math/rect.hpp:256–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256template <typename T> bool tRECT<T>::overlap( const tRECT<T>& rect ) const {
257 return Left < rect.Right && Top < rect.Bottom && rect.Left < Right && rect.Top < Bottom;
258}
259
260template <typename T> Vector2<T> tRECT<T>::getPosition() const {
261 return Vector2<T>( Left, Top );

Callers 1

findBestMenuPosMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected