Browse Source

Fix mathutil compilation with CMake.

kestred 12 years ago
parent
commit
3d65bd49a7

+ 1 - 0
panda/src/mathutil/boundingLine.cxx

@@ -14,6 +14,7 @@
 
 #include "boundingLine.h"
 #include "boundingSphere.h"
+#include "boundingBox.h"
 #include "config_mathutil.h"
 
 #include <math.h>

+ 2 - 0
panda/src/mathutil/boundingPlane.cxx

@@ -14,6 +14,8 @@
 
 #include "boundingPlane.h"
 #include "boundingSphere.h"
+#include "boundingBox.h"
+#include "boundingHexahedron.h"
 #include "config_mathutil.h"
 
 TypeHandle BoundingPlane::_type_handle;

+ 6 - 0
panda/src/mathutil/boundingVolume.cxx

@@ -16,6 +16,12 @@
 #include "finiteBoundingVolume.h"
 #include "unionBoundingVolume.h"
 #include "intersectionBoundingVolume.h"
+#include "boundingBox.h"
+#include "boundingLine.h"
+#include "boundingPlane.h"
+#include "boundingSphere.h"
+#include "boundingHexahedron.h"
+#include "config_mathutil.h"
 
 #include "indent.h"
 

+ 1 - 0
panda/src/mathutil/finiteBoundingVolume.cxx

@@ -14,6 +14,7 @@
 
 #include "finiteBoundingVolume.h"
 #include "boundingBox.h"
+#include "config_mathutil.h"
 
 TypeHandle FiniteBoundingVolume::_type_handle;
 

+ 1 - 0
panda/src/mathutil/randomizer.h

@@ -19,6 +19,7 @@
 #include "mersenne.h"
 
 #include <time.h>
+#include <math.h>
 
 ////////////////////////////////////////////////////////////////////
 //       Class : Randomizer

+ 1 - 0
panda/src/mathutil/triangulator3.cxx

@@ -13,6 +13,7 @@
 ////////////////////////////////////////////////////////////////////
 
 #include "triangulator3.h"
+#include "look_at_src.h"
 
 ////////////////////////////////////////////////////////////////////
 //     Function: Triangulator3::Constructor