SDL_RenderGeometry api verygood

I have been using sdl for a long time and am currently transplanting the cocos2dx framework.
This function is so useful.

2 Likes

Yea I was in love the moment I saw the functions.

I made a little library to make it even easier using RenderGeometry. Check it out its under MIT License and Single header lib:
pawbyte/SDL2_RenderParty: A simple library of extending the current functionality of SDL2 without having to change your includes. Currently supporting RenderQuads, RenderPolygons and more! It’s a party a SDL2 Render Party! (github.com)

20240611165911
I see it is OK, you can rotate it at will

1 Like

Why don’t you post the code next to the video, then we would see more ?