This adds two of my dependency-free single-header-libs (both are in the same repo). They are written in C and callable from C and C++. Tested on clang, gcc and VS on Win7, Win10, OSX, Linux, iOS, Android, asm.js and WebAssembly:
sokol_gfx.h is a simple, 'modern 3D API' wrapper around GLES2, GLES3, GL3.3, D3D11 and Metal
sokol_time.h is a very simple set of functions for cross-platform time-measurement
I tried to follow the STB header design-philosophy (how configuration via macros works etc...).
This adds two of my dependency-free single-header-libs (both are in the same repo). They are written in C and callable from C and C++. Tested on clang, gcc and VS on Win7, Win10, OSX, Linux, iOS, Android, asm.js and WebAssembly:
I tried to follow the STB header design-philosophy (how configuration via macros works etc...).
PS: here are direct links to the headers: