some SDL2/OpenGL code based on learnopengl, to learn about new OpenGL design.
Depends on:
- C++
- CMake
- GL3W
- GLM
- SDL 2.0
- SDL_image 2.0
$ cd /path/to/learnopengl
$ mkdir debug # or release
$ cd debug # or release
$ # for Windows ...
$ cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug # or Release
$ # or for Linux
$ cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug # or Release
$ make
$ make install
$ cd ../bin
$ # Enjoy !