Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ Inside
Method
Inside
src/game/client/ui_rect.cpp:164–167 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
162
}
163
164
bool CUIRect::Inside(vec2 Point) const
165
{
166
return Point.x >= x && Point.x < x + w && Point.y >= y && Point.y < y + h;
167
}
168
169
void CUIRect::Draw(ColorRGBA Color, int Corners, float Rounding) const
170
{
Callers
6
MouseInside
Method · 0.80
IsInside
Method · 0.80
UpdateButtonsEditor
Method · 0.80
OnRender
Method · 0.80
OnRender
Method · 0.80
DoMapEditor
Method · 0.80
Calls
no outgoing calls
Tested by
1
OnRender
Method · 0.64