Skip to content

Instantly share code, notes, and snippets.

View weeniemount's full-sized avatar
😃
codering

weenie weeniemount

😃
codering
View GitHub Profile
@Gumichan01
Gumichan01 / circle.cpp
Last active July 29, 2026 22:06
[SDL2] Draw and fill a circle
int
SDL_RenderDrawCircle(SDL_Renderer * renderer, int x, int y, int radius)
{
int offsetx, offsety, d;
int status;
CHECK_RENDERER_MAGIC(renderer, -1);