Move #include <math.h> from polymer.h to polymer.c.

git-svn-id: https://svn.eduke32.com/eduke32@2985 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-09-02 14:05:23 +00:00
parent 6fe5eb2863
commit 7f74880c96
6 changed files with 6 additions and 5 deletions

View file

@ -27,7 +27,6 @@
# include "mdsprite.h"
# include "polymost.h"
# include "pragmas.h"
# include <math.h>
// CVARS
extern int32_t pr_lighting;

View file

@ -42,7 +42,7 @@
# include <png.h>
#endif
#include <math.h>
#include <math.h> // pow
#include "engine_priv.h"

View file

@ -2,6 +2,8 @@
#ifdef USE_OPENGL
#include <math.h>
#define POLYMER_C
#include "polymer.h"
#include "engine_priv.h"

View file

@ -5,7 +5,7 @@
// Use SDL 1.2 or 1.3 from http://www.libsdl.org
#include <stdlib.h>
#include <math.h>
#include <math.h> // pow
#include <signal.h>
#include "sdl_inc.h"
#include "compat.h"

View file

@ -11,7 +11,7 @@
#ifndef DIK_PAUSE
# define DIK_PAUSE 0xC5
#endif
#include <math.h>
#include <math.h> // pow
#ifdef _MSC_VER
#include <crtdbg.h>

View file

@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <time.h>
#include <stdlib.h>
#include <math.h>
#include <math.h> // sqrt
#include "duke3d.h"
#include "gamedef.h"