Skip to content

Commit

Permalink
Try using M_PI from math.h again
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Nov 17, 2023
1 parent 49ec730 commit e96534e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/r_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
//
//-----------------------------------------------------------------------------

#include <math.h> // [Nugget]

#include "doomstat.h"
#include "r_main.h"
#include "r_things.h"
Expand All @@ -35,11 +37,6 @@
#include "p_map.h"
#include "p_mobj.h"

// [Nugget]
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

// [Nugget] Removed unused FIELDOFVIEW macro

// killough: viewangleoffset is a legacy from the pre-v1.2 days, when Doom
Expand Down

0 comments on commit e96534e

Please sign in to comment.