- Redid fog.c OpenGL fog back-end implementation
* only reconfigure fog values when changed
* properly clamp between 0.0f and 1.0f colors
* error out on negative densities
* separate fog statics became single struct
- Added Nehe16 example (adapted from KGL)
* Made spinning much faster (so you can see it better)
* fixed a few issues with KGL code (invalid GL enums, lol)
* swapped to new controller API
* added #ifdef for non-DC file paths
Newest toolchain is bitchier, so I wanted to go ahead and clear up all
of the warnings from building GLdc and the various examples...
1) Set CMake CXX standard to 14 instead of 11, since CXXFLAGS were
enforcing that language standard anyway.
2) Fixed a bunch of strict aliasing violations in immediate.c: glVertex3f.
3) Removed or commented out lots of unused variables.
4) Fixed some "suggested inner braces on initializer" crap.
5) Fixed a bunch of signed vs unsigned pointer assignments.
6) Fixed several printf() warnings from using %d with int32_t (needs to
be %ld for long int).
7) Fixed build issue with Nehe20 from not including kos.h for the
KOS_ROMDISK macro.
8) Fixed some signed vs unsigned comparison mismatches in C++ template
instantiations within clipping tests.
9)
- A button toggles between glDrawElements and glDrawArrays
- B button toggles glBlend
- Start quits the sample
- Every 10 seconds a log with stats will be sent to the terminal