Huge compile performance refactor

This commit is contained in:
Jack Andersen 2017-12-28 22:06:22 -10:00
parent bf25b17ea9
commit 10d389ffda
6 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
#include <athena/FileWriter.hpp> #include <athena/FileWriter.hpp>
#endif #endif
#include <iostream> #include <iostream>
#include <assert.h> #include <cassert>
#undef min #undef min
#undef max #undef max

View File

@ -3,8 +3,8 @@
#include "Global.hpp" #include "Global.hpp"
#include "zeus/CVector3f.hpp" #include "zeus/CVector3f.hpp"
#include <assert.h> #include <cassert>
#include <string.h> #include <cstring>
/* Column-major matrix class */ /* Column-major matrix class */
namespace zeus namespace zeus

View File

@ -6,8 +6,8 @@
#include "zeus/CMatrix4f.hpp" #include "zeus/CMatrix4f.hpp"
#include "zeus/CVector3f.hpp" #include "zeus/CVector3f.hpp"
#include "zeus/CUnitVector.hpp" #include "zeus/CUnitVector.hpp"
#include <stdint.h> #include <cstdint>
#include <stdio.h> #include <cstdio>
namespace zeus namespace zeus
{ {

View File

@ -1,7 +1,7 @@
#ifndef MATH_HPP #ifndef MATH_HPP
#define MATH_HPP #define MATH_HPP
#include <float.h> #include <cfloat>
#undef min #undef min
#undef max #undef max

View File

@ -1,7 +1,7 @@
#include "zeus/CVector2f.hpp" #include "zeus/CVector2f.hpp"
#include <memory.h> #include <memory.h>
#include <cmath> #include <cmath>
#include <assert.h> #include <cassert>
#include "zeus/Math.hpp" #include "zeus/Math.hpp"
namespace zeus namespace zeus

View File

@ -2,7 +2,7 @@
#include "zeus/CVector3d.hpp" #include "zeus/CVector3d.hpp"
#include <memory.h> #include <memory.h>
#include <cmath> #include <cmath>
#include <assert.h> #include <cassert>
#include "zeus/Math.hpp" #include "zeus/Math.hpp"
namespace zeus namespace zeus