mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-26 03:39:16 +01:00
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 "const.h"
|
||||
#include "com_model.h"
|
||||
#include <math.h>
|
||||
#include "mathlib.h"
|
||||
#include "eiface.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
#include "mathlib.h"
|
||||
#include "eiface.h"
|
||||
|
||||
#define NUM_HULL_ROUNDS ARRAYSIZE( hull_table )
|
||||
#define HULL_PRECISION 4
|
||||
|
@ -17,6 +17,9 @@ GNU General Public License for more details.
|
||||
#define MATHLIB_H
|
||||
|
||||
#include <math.h>
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
#pragma warning(disable : 4201) // nonstandard extension used
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user