MCPcopy 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
164bool CUIRect::Inside(vec2 Point) const
165{
166 return Point.x >= x && Point.x < x + w && Point.y >= y && Point.y < y + h;
167}
168
169void CUIRect::Draw(ColorRGBA Color, int Corners, float Rounding) const
170{

Callers 6

MouseInsideMethod · 0.80
IsInsideMethod · 0.80
UpdateButtonsEditorMethod · 0.80
OnRenderMethod · 0.80
OnRenderMethod · 0.80
DoMapEditorMethod · 0.80

Calls

no outgoing calls

Tested by 1

OnRenderMethod · 0.64