mirror of https://github.com/FWGS/xash3d-fwgs
public: include tgmath in mathlib.h, so macros will be used inside Vector macros
This commit is contained in:
parent
0577ecbccf
commit
14be566401
|
@ -16,12 +16,11 @@ GNU General Public License for more details.
|
||||||
#include "xash3d_types.h"
|
#include "xash3d_types.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "com_model.h"
|
#include "com_model.h"
|
||||||
#include <math.h>
|
#include "mathlib.h"
|
||||||
|
#include "eiface.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#ifdef HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
#include "mathlib.h"
|
|
||||||
#include "eiface.h"
|
|
||||||
|
|
||||||
#define NUM_HULL_ROUNDS ARRAYSIZE( hull_table )
|
#define NUM_HULL_ROUNDS ARRAYSIZE( hull_table )
|
||||||
#define HULL_PRECISION 4
|
#define HULL_PRECISION 4
|
||||||
|
|
|
@ -17,6 +17,9 @@ GNU General Public License for more details.
|
||||||
#define MATHLIB_H
|
#define MATHLIB_H
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#ifdef HAVE_TGMATH_H
|
||||||
|
#include <tgmath.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma warning(disable : 4201) // nonstandard extension used
|
#pragma warning(disable : 4201) // nonstandard extension used
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue