···11#ifndef _SDL_GPU_H__
22#define _SDL_GPU_H__
3344+#define _USE_MATH_DEFINES // So M_PI and company get defined on MSVC when we include math.h
55+#include <math.h> // Must be included before SDL.h, otherwise both try to define M_PI and we get a warning
66+47#include "SDL.h"
58#include <stdio.h>
69#include <stdarg.h>
-8
src/renderer_shapes_GL_common.inl
···22See a particular renderer's *.c file for specifics. */
334455-#ifndef M_PI
66- #define M_PI 3.14159265358979323846
77-#endif
88-99-1010-1111-1212-135// All shapes start this way for setup and so they can access the blit buffer properly
146#define BEGIN_UNTEXTURED(function_name, shape, num_additional_vertices, num_additional_indices) \
157 GPU_CONTEXT_DATA* cdata; \