From: Neal Gompa Date: Sun, 13 Nov 2016 22:32:35 +0000 (-0500) Subject: GameTick: add cmath include and _USE_MATH_DEFINES X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=3bcfee7e1989c0bb71647164e032ba5eada52e9e GameTick: add cmath include and _USE_MATH_DEFINES --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 48b34b9..84a10da 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -19,6 +19,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +// Enable full math definitions +#define _USE_MATH_DEFINES + #if PLATFORM_UNIX #include #include @@ -27,8 +30,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif + #include #include +#include #include #include "Game.h" #include "openal_wrapper.h"