prosperon/source/engine/config.h

22 lines
436 B
C
Raw Permalink Normal View History

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
#if defined __linux__
2024-05-16 14:50:18 -05:00
#define SOKOL_GLCORE
2024-05-08 11:07:19 -05:00
#elif __EMSCRIPTEN__
2024-05-16 14:50:18 -05:00
#define SOKOL_WGPU
2024-05-08 11:07:19 -05:00
#elif __WIN32
#define SOKOL_D3D11
#elif __APPLE__
#define SOKOL_METAL
#endif
2022-02-06 10:14:57 -06:00
#endif