Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing <stdint.h> header #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions inc/btConvexHullComputer.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ subject to the following restrictions:

#include "btAlignedObjectArray.h"
#include "btVector3.h"
#include <stdint.h>

/// Convex hull implementation based on Preparata and Hong
/// See http://code.google.com/p/bullet/issues/detail?id=275
Expand Down
2 changes: 1 addition & 1 deletion inc/btVector3.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ subject to the following restrictions:
#ifndef BT_VECTOR3_H
#define BT_VECTOR3_H

//#include <stdint.h>
#include "btScalar.h"
#include "btMinMax.h"
#include "btAlignedAllocator.h"
#include <stdint.h>

#ifdef BT_USE_DOUBLE_PRECISION
#define btVector3Data btVector3DoubleData
Expand Down
2 changes: 2 additions & 0 deletions inc/vhacdICHull.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#pragma once
#ifndef VHACD_ICHULL_H
#define VHACD_ICHULL_H

#include "vhacdManifoldMesh.h"
#include "vhacdVector.h"
#include <stdint.h>

namespace VHACD {
//! Incremental Convex Hull algorithm (cf. http://cs.smith.edu/~orourke/books/ftp.html ).
Expand Down
3 changes: 3 additions & 0 deletions inc/vhacdManifoldMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stdint.h>

namespace VHACD {
class TMMTriangle;
class TMMEdge;
Expand Down
2 changes: 2 additions & 0 deletions inc/vhacdMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#pragma once
#ifndef VHACD_MESH_H
#define VHACD_MESH_H

#include "vhacdSArray.h"
#include "vhacdVector.h"
#include <stdint.h>

#define VHACD_DEBUG_MESH

Expand Down
1 change: 1 addition & 0 deletions inc/vhacdMutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
#if defined(__linux__)
//#include <sys/time.h>
#include <errno.h>
#include <stdint.h>
#include <time.h>
#include <unistd.h>
#define __stdcall
Expand Down
1 change: 1 addition & 0 deletions inc/vhacdVHACD.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stdint.h>
#include <vector>

#define USE_THREAD 1
Expand Down
2 changes: 2 additions & 0 deletions inc/vhacdVolume.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
#pragma once
#ifndef VHACD_VOLUME_H
#define VHACD_VOLUME_H

#include "vhacdMesh.h"
#include "vhacdVector.h"
#include <assert.h>
#include <stdint.h>

#ifdef _MSC_VER
#pragma warning(push)
Expand Down
1 change: 1 addition & 0 deletions src/FloatMath.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions src/VHACD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <fstream>
#include <iomanip>
#include <limits>
#include <stdint.h>
#include <sstream>
#if _OPENMP
#include <omp.h>
Expand Down
2 changes: 2 additions & 0 deletions src/btAlignedAllocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
*/

#include <stdint.h>

#include "btAlignedAllocator.h"

#ifdef _MSC_VER
Expand Down
1 change: 1 addition & 0 deletions src/btConvexHullComputer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
*/

#include <stdint.h>
#include <string.h>

#include "btAlignedObjectArray.h"
Expand Down
1 change: 1 addition & 0 deletions src/vhacdICHull.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
#include "vhacdICHull.h"
#include <limits>
#include <stdint.h>

#ifdef _MSC_VER
#pragma warning(disable:4456 4706)
Expand Down
2 changes: 2 additions & 0 deletions src/vhacdManifoldMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stdint.h>

namespace VHACD {
TMMVertex::TMMVertex(void)
{
Expand Down
1 change: 1 addition & 0 deletions src/vhacdMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <fstream>
#include <iosfwd>
#include <iostream>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/vhacdRaycastMesh.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "vhacdRaycastMesh.h"
#include <math.h>
#include <assert.h>
#include <stdint.h>

namespace RAYCAST_MESH
{
Expand Down
1 change: 1 addition & 0 deletions src/vhacdVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <float.h>
#include <math.h>
#include <queue>
#include <stdint.h>
#include <string.h>

#ifdef _MSC_VER
Expand Down