It may sound surprising but native SDL doesn't support rotation and zooming of images in a nice way. Also drawing of primitives (e.g. circles, lines, squares, polygons) isn't supported in a simple way. This gap is closed by Andreas Schiffler's library SDL_GFX which is capable of doing these things properly and more.
The new chapter describes how to compile your own SDL_gfx.dll with the free MinGW C compiler, how to rotate and zoom images, how to draw primitives (including B?©zier curves) and how to setup and use the SDL_GFX framerate manager.
Go read the new chapter at www.freepascal-meets-sdl.net.
Support for Vertex/Index Buffers
[COLOR=#241E12][FONT=aktiv-grotesk][SIZE=2][FONT=arial]Added support for vertex/index buffers to the engine. Yes, yes, until now there were no GL buffers support in the engine - the geometry was...
Cooler 23-05-2022 08:08 AM