int circle(double x, double y, double rs, double re, double ths, double the) { int r1, r2; r1 = _plnorm(rs); r2 = _plnorm(re); if (r1 == 0 && r2 == 0) return (1); _circle(_cordx(x), _cordy(y), r1, r2, _plnorm(ths), _plnorm(the)); return (0); }
void _circle(SDL_Surface* surf, int x_center, int y_center, int radius, Uint8 r, Uint8 g, Uint8 b) { _circle(surf, x_center, y_center, radius, SDL_MapRGB(surf->format, r, g, b)); }