mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- add cmath includes to fix the mac compile std::floor errors
This commit is contained in:
parent
e67c421201
commit
060e2cefc6
2 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <cmath> // needed for std::floor on mac
|
||||||
#include "maploader.h"
|
#include "maploader.h"
|
||||||
#include "c_cvars.h"
|
#include "c_cvars.h"
|
||||||
#include "actor.h"
|
#include "actor.h"
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#include "hwrenderer/scene/hw_drawinfo.h"
|
#include "hwrenderer/scene/hw_drawinfo.h"
|
||||||
#include "hwrenderer/scene/hw_drawstructs.h"
|
#include "hwrenderer/scene/hw_drawstructs.h"
|
||||||
#include "models.h"
|
#include "models.h"
|
||||||
|
#include <cmath> // needed for std::floor on mac
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
T smoothstep(const T edge0, const T edge1, const T x)
|
T smoothstep(const T edge0, const T edge1, const T x)
|
||||||
|
|
Loading…
Reference in a new issue