I worked on creating the ball. SDL alone can't generate circles. I used the solution from this post to draw it. Ball structure struct Ball { float x; float y; float radius; }; Generate Ball void GenerateBall(struct Ball ball, SDL_Rendere...
digitalcreations.hashnode.dev1 min read
No responses yet.