Hello guys. We have SDL_RenderCopy for rectangle rendering. But I think it would be great if we have some function like this for any custom polygon render copy
extern DECLSPEC int SDLCALL SDL_RenderCopyPolygon(SDL_Renderer* renderer,
const SDL_FPoint* srcpoints,
const SDL_FPoint* dstpoints,
It will be very useful for polygon texture atlases. For example, spine sdk uses polygon atlases for skeleton animations packing.
What do you think about that?