2021-11-30 21:29:18 -06:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
2023-05-12 13:22:05 -05:00
|
|
|
#define MAXPATH 256 /* 255 chars + null */
|
2021-11-30 21:29:18 -06:00
|
|
|
#define MAXNAME 50
|
|
|
|
|
|
|
|
#define PI 3.14159265358979323846264338327950288f
|
|
|
|
#define DEG2RADS 0.0174532925199432957692369076848861271344287188854172545609719144f
|
|
|
|
#define RAD2DEGS 57.2958f
|
2022-01-19 16:43:21 -06:00
|
|
|
|
2024-05-08 11:07:19 -05:00
|
|
|
#define CONFIG_H
|
|
|
|
#if defined __linux__
|
|
|
|
#define SOKOL_GLCORE33
|
|
|
|
#elif __EMSCRIPTEN__
|
|
|
|
#define SOKOL_GLES3
|
|
|
|
#elif __WIN32
|
|
|
|
#define SOKOL_D3D11
|
|
|
|
#elif __APPLE__
|
|
|
|
#define SOKOL_METAL
|
|
|
|
#endif
|
2023-09-04 01:20:55 -05:00
|
|
|
|
2022-02-06 10:14:57 -06:00
|
|
|
#endif
|