feat: fasten drawing by inlining circle_inout

lever-ops
TT 6 years ago
parent 3f209e4986
commit 08a2f6972d

@ -91,7 +91,7 @@ void update_grid(void)
redraw_request |= REDRAW_FREQUENCY;
}
int
static inline int
circle_inout(int x, int y, int r)
{
int d = x*x + y*y - r*r;

Loading…
Cancel
Save

Powered by TurnKey Linux.