Daniele Bartolini 10 лет назад
Родитель
Сommit
2a7af9a204

+ 2 - 3
src/core/math/aabb.h

@@ -5,11 +5,10 @@
 
 #pragma once
 
-#include "types.h"
+#include "error.h"
 #include "math_types.h"
-#include "vector3.h"
 #include "matrix4x4.h"
-#include "error.h"
+#include "vector3.h"
 
 namespace crown
 {

+ 0 - 1
src/core/math/color4.h

@@ -5,7 +5,6 @@
 
 #pragma once
 
-#include "types.h"
 #include "math_types.h"
 
 namespace crown

+ 2 - 2
src/core/math/frustum.h

@@ -5,10 +5,10 @@
 
 #pragma once
 
-#include "math_types.h"
-#include "plane.h"
 #include "aabb.h"
 #include "intersection.h"
+#include "math_types.h"
+#include "plane.h"
 
 namespace crown
 {

+ 1 - 1
src/core/math/intersection.cpp

@@ -3,8 +3,8 @@
  * License: https://github.com/taylor001/crown/blob/master/LICENSE
  */
 
-#include "intersection.h"
 #include "aabb.h"
+#include "intersection.h"
 #include "plane.h"
 #include "sphere.h"
 #include "vector3.h"

+ 3 - 2
src/core/math/matrix4x4.h

@@ -6,9 +6,10 @@
 #pragma once
 
 #include "math_types.h"
-#include "vector4.h"
-#include "quaternion.h"
+#include "math_utils.h"
 #include "matrix3x3.h"
+#include "quaternion.h"
+#include "vector4.h"
 
 namespace crown
 {

+ 1 - 0
src/core/math/plane.h

@@ -6,6 +6,7 @@
 #pragma once
 
 #include "math_types.h"
+#include "math_utils.h"
 #include "vector3.h"
 
 namespace crown

+ 2 - 0
src/core/math/random.h

@@ -5,6 +5,8 @@
 
 #pragma once
 
+#include "types.h"
+
 namespace crown
 {
 /// Pseudo-random number generator.

+ 0 - 1
src/core/math/sphere.h

@@ -5,7 +5,6 @@
 
 #pragma once
 
-#include "types.h"
 #include "math_types.h"
 #include "math_utils.h"
 #include "vector3.h"