C implementation of OpenGL tutorial (v.2.1 - 3.3) by Lazyfoo but with SDL2, improvement and added features if possible.
Original tutorial is based up to 3.1, but I target 3.3.
The approach of coding for each tutorial sample will be the same as I did in lazyfoo-sdl2c in which each sample directory is self-contained, no reference to external reuseable source file in another directory. But those reuseable source file will be updated / added more features in recent sample directory.
So more recent sample directory has more complete or per say latest source of such reuseable system.
At the end I might combine all those reuseable system spanning in multiple source files together.
Directory with name <number><number>_extra_...
is the extra additional on top of the same topic of tutorial.
Execute make
at the root directory to build all samples.
Execute make
at each of sample directory to build only for that sample.
As well you can make clean
at both root, or specific sample directory to clean all built files for all samples or specific sample respectively.
This project is based on the work of Lazyfoo. See License section for more information about rights to use code in this project.
- Minecraft font by Craftron Gaming on dafont.com - link
- 8bit Wonder font by Joiro Hatgaya on dafont.com - link
- As stated in http://lazyfoo.net/contact.php, the rights of this derived works (code and assets) still belong to Lazyfoo otherwise noted. LGPL, LazyFoo, original author this repository based on.
- The code that's not based on original work is belong to me (Wasin Thonkaew) as MIT.
- Other additional assets are belong to what is noted in README.md file of corresponding sample.
If you have an enquiry about modifying or extending the project, please contact LazyFoo here.