Windows fixes

This commit is contained in:
Jack Andersen 2015-10-11 18:40:59 -10:00
parent 5e2b997266
commit 72972196a4
3 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,6 @@
#if _M_IX86_FP >= 1 || _M_X64 #if _M_IX86_FP >= 1 || _M_X64
# define __SSE__ 1 # define __SSE__ 1
#endif #endif
#include <x86intrin.h>
#if __SSE__ #if __SSE__
# include <immintrin.h> # include <immintrin.h>

View File

@ -1,10 +1,16 @@
#ifndef MATH_HPP #ifndef MATH_HPP
#define MATH_HPP #define MATH_HPP
#ifndef NOMINMAX
#define NOMINMAX 1
#endif
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES 1 #define _USE_MATH_DEFINES 1
#endif
#include <math.h> #include <math.h>
#include "CVector3f.hpp" #include "CVector3f.hpp"
#include "CTransform.hpp" #include "CTransform.hpp"
#include <algorithm>
namespace Zeus namespace Zeus
{ {

View File

@ -1,5 +1,4 @@
#include "Math.hpp" #include "Math.hpp"
#include <x86intrin.h>
namespace Zeus namespace Zeus
{ {