We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c745f commit 8291807Copy full SHA for 8291807
src/engine/qcommon/q_shared.h
@@ -274,15 +274,15 @@ void Com_Free_Aligned( void *ptr );
274
using fixed16_t = int;
275
276
#ifndef M_PI
277
-#define M_PI 3.14159265358979323846f // matches value in gcc v2 math.h
+DEPRECATED static const float M_PI = 3.14159265358979323846f // matches value in gcc v2 math.h
278
#endif
279
280
#ifndef M_SQRT2
281
-#define M_SQRT2 1.414213562f
+DEPRECATED static const float M_SQRT2 = 1.414213562f;
282
283
284
#ifndef M_ROOT3
285
-#define M_ROOT3 1.732050808f
+DEPRECATED static const float M_ROOT3 = 1.732050808f;
286
287
288
#ifndef LINE_DISTANCE_EPSILON
0 commit comments