Skip to content

Commit 1ec96e9

Browse files
committed
deprecate
1 parent 8046570 commit 1ec96e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/engine/qcommon/q_shared.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,15 @@ void Com_Free_Aligned( void *ptr );
274274
using fixed16_t = int;
275275

276276
#ifndef M_PI
277-
#define M_PI 3.14159265358979323846f // matches value in gcc v2 math.h
277+
DEPRECATED static const float M_PI = 3.14159265358979323846f // matches value in gcc v2 math.h
278278
#endif
279279

280280
#ifndef M_SQRT2
281-
#define M_SQRT2 1.414213562f
281+
DEPRECATED static const float M_SQRT2 = 1.414213562f;
282282
#endif
283283

284284
#ifndef M_ROOT3
285-
#define M_ROOT3 1.732050808f
285+
DEPRECATED static const float M_ROOT3 = 1.732050808f;
286286
#endif
287287

288288
#ifndef LINE_DISTANCE_EPSILON

0 commit comments

Comments
 (0)