Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ isIntersect
Method
isIntersect
Demos/Demo_Pointers/EnemyPanel.cpp:24–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
bool EnemyPanel::isIntersect(int _x, int _y)
25
{
26
return mMainWidget->getAbsoluteRect().inside(MyGUI::IntPoint(_x, _y));
27
}
28
29
void EnemyPanel::setVisible(bool _value)
30
{
Callers
1
getCursorFromScene
Method · 0.45
Calls
2
IntPoint
Function · 0.50
inside
Method · 0.45
Tested by
no test coverage detected