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