SDL2 - Implement camera

Hi there,

now that SDL2 supports scaled/rotated blitting via SDL_RenderCopyEx i want to move all my drawing code from using opengl drawing textured quads to SDL2 native render functions.

My current opengl code sets the opengl transform by doing a glPushMatrix, glTranslated/Rotated/Scaled before doing all the game world drawing:

Can i achive something similar with SDL2 native render functions?

Thank you.------------------------
sge2d ( An open source sdl based game framework for c/c++ (sge++ for c++ available soon)

1 Like