From 6faccd26fda1f884f2f7eeb15d31f763f5168046 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Thu, 26 Oct 2017 21:52:01 +0200 Subject: [PATCH] Add missing header Signed-off-by: Juraj Oravec --- inc/btConvexHullComputer.h | 1 + inc/btVector3.h | 2 +- inc/vhacdICHull.h | 2 ++ inc/vhacdManifoldMesh.h | 3 +++ inc/vhacdMesh.h | 2 ++ inc/vhacdMutex.h | 1 + inc/vhacdVHACD.h | 1 + inc/vhacdVolume.h | 2 ++ src/FloatMath.cpp | 1 + src/VHACD.cpp | 1 + src/btAlignedAllocator.cpp | 2 ++ src/btConvexHullComputer.cpp | 1 + src/vhacdICHull.cpp | 1 + src/vhacdManifoldMesh.cpp | 2 ++ src/vhacdMesh.cpp | 1 + src/vhacdRaycastMesh.cpp | 1 + src/vhacdVolume.cpp | 1 + 17 files changed, 24 insertions(+), 1 deletion(-) diff --git a/inc/btConvexHullComputer.h b/inc/btConvexHullComputer.h index 3c5075c..435e36a 100644 --- a/inc/btConvexHullComputer.h +++ b/inc/btConvexHullComputer.h @@ -17,6 +17,7 @@ subject to the following restrictions: #include "btAlignedObjectArray.h" #include "btVector3.h" +#include /// Convex hull implementation based on Preparata and Hong /// See http://code.google.com/p/bullet/issues/detail?id=275 diff --git a/inc/btVector3.h b/inc/btVector3.h index 4876700..16b8fa9 100644 --- a/inc/btVector3.h +++ b/inc/btVector3.h @@ -17,10 +17,10 @@ subject to the following restrictions: #ifndef BT_VECTOR3_H #define BT_VECTOR3_H -//#include #include "btScalar.h" #include "btMinMax.h" #include "btAlignedAllocator.h" +#include #ifdef BT_USE_DOUBLE_PRECISION #define btVector3Data btVector3DoubleData diff --git a/inc/vhacdICHull.h b/inc/vhacdICHull.h index 132bdcf..a7f208f 100644 --- a/inc/vhacdICHull.h +++ b/inc/vhacdICHull.h @@ -15,8 +15,10 @@ #pragma once #ifndef VHACD_ICHULL_H #define VHACD_ICHULL_H + #include "vhacdManifoldMesh.h" #include "vhacdVector.h" +#include namespace VHACD { //! Incremental Convex Hull algorithm (cf. http://cs.smith.edu/~orourke/books/ftp.html ). diff --git a/inc/vhacdManifoldMesh.h b/inc/vhacdManifoldMesh.h index a48f53c..785600f 100644 --- a/inc/vhacdManifoldMesh.h +++ b/inc/vhacdManifoldMesh.h @@ -15,9 +15,12 @@ All rights reserved. #pragma once #ifndef VHACD_MANIFOLD_MESH_H #define VHACD_MANIFOLD_MESH_H + #include "vhacdCircularList.h" #include "vhacdSArray.h" #include "vhacdVector.h" +#include + namespace VHACD { class TMMTriangle; class TMMEdge; diff --git a/inc/vhacdMesh.h b/inc/vhacdMesh.h index a282e2b..2045b88 100644 --- a/inc/vhacdMesh.h +++ b/inc/vhacdMesh.h @@ -15,8 +15,10 @@ #pragma once #ifndef VHACD_MESH_H #define VHACD_MESH_H + #include "vhacdSArray.h" #include "vhacdVector.h" +#include #define VHACD_DEBUG_MESH diff --git a/inc/vhacdMutex.h b/inc/vhacdMutex.h index 6b09259..b5e4ead 100644 --- a/inc/vhacdMutex.h +++ b/inc/vhacdMutex.h @@ -62,6 +62,7 @@ #if defined(__linux__) //#include #include +#include #include #include #define __stdcall diff --git a/inc/vhacdVHACD.h b/inc/vhacdVHACD.h index d67b107..63cab6b 100644 --- a/inc/vhacdVHACD.h +++ b/inc/vhacdVHACD.h @@ -27,6 +27,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include "vhacdMutex.h" #include "vhacdVolume.h" #include "vhacdRaycastMesh.h" +#include #include #define USE_THREAD 1 diff --git a/inc/vhacdVolume.h b/inc/vhacdVolume.h index 8c47fa1..611506a 100644 --- a/inc/vhacdVolume.h +++ b/inc/vhacdVolume.h @@ -15,9 +15,11 @@ #pragma once #ifndef VHACD_VOLUME_H #define VHACD_VOLUME_H + #include "vhacdMesh.h" #include "vhacdVector.h" #include +#include #ifdef _MSC_VER #pragma warning(push) diff --git a/src/FloatMath.cpp b/src/FloatMath.cpp index 481e875..f1961f6 100644 --- a/src/FloatMath.cpp +++ b/src/FloatMath.cpp @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/src/VHACD.cpp b/src/VHACD.cpp index b35ee04..24644a5 100644 --- a/src/VHACD.cpp +++ b/src/VHACD.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #if _OPENMP #include diff --git a/src/btAlignedAllocator.cpp b/src/btAlignedAllocator.cpp index 11d594f..123c2ae 100644 --- a/src/btAlignedAllocator.cpp +++ b/src/btAlignedAllocator.cpp @@ -13,6 +13,8 @@ subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ +#include + #include "btAlignedAllocator.h" #ifdef _MSC_VER diff --git a/src/btConvexHullComputer.cpp b/src/btConvexHullComputer.cpp index d3d749a..8230608 100644 --- a/src/btConvexHullComputer.cpp +++ b/src/btConvexHullComputer.cpp @@ -12,6 +12,7 @@ subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ +#include #include #include "btAlignedObjectArray.h" diff --git a/src/vhacdICHull.cpp b/src/vhacdICHull.cpp index 989587c..ba821da 100644 --- a/src/vhacdICHull.cpp +++ b/src/vhacdICHull.cpp @@ -14,6 +14,7 @@ */ #include "vhacdICHull.h" #include +#include #ifdef _MSC_VER #pragma warning(disable:4456 4706) diff --git a/src/vhacdManifoldMesh.cpp b/src/vhacdManifoldMesh.cpp index 7aac9c0..af91290 100644 --- a/src/vhacdManifoldMesh.cpp +++ b/src/vhacdManifoldMesh.cpp @@ -13,6 +13,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "vhacdManifoldMesh.h" +#include + namespace VHACD { TMMVertex::TMMVertex(void) { diff --git a/src/vhacdMesh.cpp b/src/vhacdMesh.cpp index 5d03989..04be842 100644 --- a/src/vhacdMesh.cpp +++ b/src/vhacdMesh.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/src/vhacdRaycastMesh.cpp b/src/vhacdRaycastMesh.cpp index e8b9435..66f6fab 100644 --- a/src/vhacdRaycastMesh.cpp +++ b/src/vhacdRaycastMesh.cpp @@ -1,6 +1,7 @@ #include "vhacdRaycastMesh.h" #include #include +#include namespace RAYCAST_MESH { diff --git a/src/vhacdVolume.cpp b/src/vhacdVolume.cpp index a250e5a..b8e290d 100644 --- a/src/vhacdVolume.cpp +++ b/src/vhacdVolume.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #ifdef _MSC_VER