Clean up the include statements

This commit is contained in:
Daniel Chappuis 2014-08-07 21:38:31 +02:00
parent 47b2eb457a
commit 6c505377c5
76 changed files with 149 additions and 149 deletions

View File

@ -25,7 +25,7 @@
// Libraries
#include "Body.h"
#include "../collision/shapes/CollisionShape.h"
#include "collision/shapes/CollisionShape.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -29,7 +29,7 @@
// Libraries
#include <stdexcept>
#include <cassert>
#include "../configuration.h"
#include "configuration.h"
/// Namespace reactphysics3d
namespace reactphysics3d {

View File

@ -25,8 +25,8 @@
// Libraries
#include "CollisionBody.h"
#include "../engine/CollisionWorld.h"
#include "../engine/ContactManifold.h"
#include "engine/CollisionWorld.h"
#include "engine/ContactManifold.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -30,12 +30,12 @@
#include <stdexcept>
#include <cassert>
#include "Body.h"
#include "../mathematics/Transform.h"
#include "../collision/shapes/AABB.h"
#include "../collision/shapes/CollisionShape.h"
#include "../collision/RaycastInfo.h"
#include "../memory/MemoryAllocator.h"
#include "../configuration.h"
#include "mathematics/Transform.h"
#include "collision/shapes/AABB.h"
#include "collision/shapes/CollisionShape.h"
#include "collision/RaycastInfo.h"
#include "memory/MemoryAllocator.h"
#include "configuration.h"
/// Namespace reactphysics3d
namespace reactphysics3d {

View File

@ -26,8 +26,8 @@
// Libraries
#include "RigidBody.h"
#include "constraint/Joint.h"
#include "../collision/shapes/CollisionShape.h"
#include "../engine/DynamicsWorld.h"
#include "collision/shapes/CollisionShape.h"
#include "engine/DynamicsWorld.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -29,9 +29,9 @@
// Libraries
#include <cassert>
#include "CollisionBody.h"
#include "../engine/Material.h"
#include "../mathematics/mathematics.h"
#include "../memory/MemoryAllocator.h"
#include "engine/Material.h"
#include "mathematics/mathematics.h"
#include "memory/MemoryAllocator.h"
/// Namespace reactphysics3d
namespace reactphysics3d {

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_BROAD_PHASE_PAIR_H
// Libraries
#include "../body/CollisionBody.h"
#include "body/CollisionBody.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,11 +25,11 @@
// Libraries
#include "CollisionDetection.h"
#include "../engine/CollisionWorld.h"
#include "../body/Body.h"
#include "../collision/shapes/BoxShape.h"
#include "../body/RigidBody.h"
#include "../configuration.h"
#include "engine/CollisionWorld.h"
#include "body/Body.h"
#include "collision/shapes/BoxShape.h"
#include "body/RigidBody.h"
#include "configuration.h"
#include <cassert>
#include <complex>
#include <set>

View File

@ -27,13 +27,13 @@
#define REACTPHYSICS3D_COLLISION_DETECTION_H
// Libraries
#include "../body/CollisionBody.h"
#include "body/CollisionBody.h"
#include "broadphase/BroadPhaseAlgorithm.h"
#include "../engine/OverlappingPair.h"
#include "engine/OverlappingPair.h"
#include "narrowphase/GJK/GJKAlgorithm.h"
#include "narrowphase/SphereVsSphereAlgorithm.h"
#include "../memory/MemoryAllocator.h"
#include "../constraint/ContactPoint.h"
#include "memory/MemoryAllocator.h"
#include "constraint/ContactPoint.h"
#include <vector>
#include <map>
#include <set>

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_RAYCAST_INFO_H
// Libraries
#include "../mathematics/Vector3.h"
#include "mathematics/Vector3.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,8 +25,8 @@
// Libraries
#include "BroadPhaseAlgorithm.h"
#include "../CollisionDetection.h"
#include "../../engine/Profiler.h"
#include "collision/CollisionDetection.h"
#include "engine/Profiler.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -28,7 +28,7 @@
// Libraries
#include <vector>
#include "../../body/CollisionBody.h"
#include "body/CollisionBody.h"
#include "collision/ProxyShape.h"
#include "DynamicAABBTree.h"

View File

@ -26,8 +26,8 @@
// Libraries
#include "DynamicAABBTree.h"
#include "BroadPhaseAlgorithm.h"
#include "../../memory/Stack.h"
#include "../../engine/Profiler.h"
#include "memory/Stack.h"
#include "engine/Profiler.h"
using namespace reactphysics3d;

View File

@ -27,9 +27,9 @@
#define REACTPHYSICS3D_DYNAMIC_AABB_TREE_H
// Libraries
#include "../../configuration.h"
#include "../shapes/AABB.h"
#include "../../body/CollisionBody.h"
#include "configuration.h"
#include "collision/shapes/AABB.h"
#include "body/CollisionBody.h"
/// Namespace ReactPhysics3D
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "EPAAlgorithm.h"
#include "../GJK/GJKAlgorithm.h"
#include "collision/narrowphase//GJK/GJKAlgorithm.h"
#include "TrianglesStore.h"
// We want to use the ReactPhysics3D namespace

View File

@ -27,12 +27,12 @@
#define REACTPHYSICS3D_EPA_ALGORITHM_H
// Libraries
#include "../GJK/Simplex.h"
#include "../../shapes/CollisionShape.h"
#include "../../../constraint/ContactPoint.h"
#include "../../../mathematics/mathematics.h"
#include "collision/narrowphase/GJK/Simplex.h"
#include "collision/shapes/CollisionShape.h"
#include "constraint/ContactPoint.h"
#include "mathematics/mathematics.h"
#include "TriangleEPA.h"
#include "../../../memory/MemoryAllocator.h"
#include "memory/MemoryAllocator.h"
#include <algorithm>
/// ReactPhysics3D namespace

View File

@ -28,7 +28,7 @@
// Libraries
#include "../../../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -27,8 +27,8 @@
#define REACTPHYSICS3D_TRIANGLE_EPA_H
// Libraries
#include "../../../mathematics/mathematics.h"
#include "../../../configuration.h"
#include "mathematics/mathematics.h"
#include "configuration.h"
#include "EdgeEPA.h"
#include <cassert>

View File

@ -26,8 +26,8 @@
// Libraries
#include "GJKAlgorithm.h"
#include "Simplex.h"
#include "../../../constraint/ContactPoint.h"
#include "../../../configuration.h"
#include "constraint/ContactPoint.h"
#include "configuration.h"
#include <algorithm>
#include <cmath>
#include <cfloat>

View File

@ -27,10 +27,10 @@
#define REACTPHYSICS3D_GJK_ALGORITHM_H
// Libraries
#include "../NarrowPhaseAlgorithm.h"
#include "../../../constraint/ContactPoint.h"
#include "../../../collision/shapes/CollisionShape.h"
#include "../EPA/EPAAlgorithm.h"
#include "collision/narrowphase/NarrowPhaseAlgorithm.h"
#include "constraint/ContactPoint.h"
#include "collision/shapes/CollisionShape.h"
#include "collision/narrowphase/EPA/EPAAlgorithm.h"
/// ReactPhysics3D namespace

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_SIMPLEX_H
// Libraries
#include "../../../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
#include <vector>
/// ReactPhysics3D namespace

View File

@ -27,11 +27,11 @@
#define REACTPHYSICS3D_NARROW_PHASE_ALGORITHM_H
// Libraries
#include "../../body/Body.h"
#include "../../constraint/ContactPoint.h"
#include "../broadphase/PairManager.h"
#include "../../memory/MemoryAllocator.h"
#include "../../engine/OverlappingPair.h"
#include "body/Body.h"
#include "constraint/ContactPoint.h"
#include "collision/broadphase/PairManager.h"
#include "memory/MemoryAllocator.h"
#include "engine/OverlappingPair.h"
/// Namespace ReactPhysics3D

View File

@ -25,7 +25,7 @@
// Libraries
#include "SphereVsSphereAlgorithm.h"
#include "../../collision/shapes/SphereShape.h"
#include "collision/shapes/SphereShape.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -27,8 +27,8 @@
#define REACTPHYSICS3D_SPHERE_VS_SPHERE_ALGORITHM_H
// Libraries
#include "../../body/Body.h"
#include "../../constraint/ContactPoint.h"
#include "body/Body.h"
#include "constraint/ContactPoint.h"
#include "NarrowPhaseAlgorithm.h"

View File

@ -25,7 +25,7 @@
// Libraries
#include "AABB.h"
#include "../../configuration.h"
#include "configuration.h"
#include <cassert>
using namespace reactphysics3d;

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_AABB_H
// Libraries
#include "../../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "BoxShape.h"
#include "../../configuration.h"
#include "configuration.h"
#include <vector>
#include <cassert>

View File

@ -29,8 +29,8 @@
// Libraries
#include <cfloat>
#include "CollisionShape.h"
#include "../../body/CollisionBody.h"
#include "../../mathematics/mathematics.h"
#include "body/CollisionBody.h"
#include "mathematics/mathematics.h"
/// ReactPhysics3D namespace

View File

@ -25,7 +25,7 @@
// Libraries
#include "CapsuleShape.h"
#include "../../configuration.h"
#include "configuration.h"
#include <cassert>
using namespace reactphysics3d;

View File

@ -28,8 +28,8 @@
// Libraries
#include "CollisionShape.h"
#include "../../body/CollisionBody.h"
#include "../../mathematics/mathematics.h"
#include "body/CollisionBody.h"
#include "mathematics/mathematics.h"
// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "CollisionShape.h"
#include "../../engine/Profiler.h"
#include "engine/Profiler.h"
#include "body/CollisionBody.h"
// We want to use the ReactPhysics3D namespace

View File

@ -29,12 +29,12 @@
// Libraries
#include <cassert>
#include <typeinfo>
#include "../../mathematics/Vector3.h"
#include "../../mathematics/Matrix3x3.h"
#include "../../mathematics/Ray.h"
#include "mathematics/Vector3.h"
#include "mathematics/Matrix3x3.h"
#include "mathematics/Ray.h"
#include "AABB.h"
#include "../RaycastInfo.h"
#include "../../memory/MemoryAllocator.h"
#include "collision/RaycastInfo.h"
#include "memory/MemoryAllocator.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include <complex>
#include "../../configuration.h"
#include "configuration.h"
#include "ConeShape.h"
using namespace reactphysics3d;

View File

@ -28,8 +28,8 @@
// Libraries
#include "CollisionShape.h"
#include "../../body/CollisionBody.h"
#include "../../mathematics/mathematics.h"
#include "body/CollisionBody.h"
#include "mathematics/mathematics.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include <complex>
#include "../../configuration.h"
#include "configuration.h"
#include "ConvexMeshShape.h"
using namespace reactphysics3d;

View File

@ -28,9 +28,9 @@
// Libraries
#include "CollisionShape.h"
#include "../../engine/CollisionWorld.h"
#include "../../mathematics/mathematics.h"
#include "../narrowphase/GJK/GJKAlgorithm.h"
#include "engine/CollisionWorld.h"
#include "mathematics/mathematics.h"
#include "collision/narrowphase/GJK/GJKAlgorithm.h"
#include <vector>
#include <set>
#include <map>

View File

@ -25,7 +25,7 @@
// Libraries
#include "CylinderShape.h"
#include "../../configuration.h"
#include "configuration.h"
using namespace reactphysics3d;

View File

@ -28,8 +28,8 @@
// Libraries
#include "CollisionShape.h"
#include "../../body/CollisionBody.h"
#include "../../mathematics/mathematics.h"
#include "body/CollisionBody.h"
#include "mathematics/mathematics.h"
/// ReactPhysics3D namespace

View File

@ -25,7 +25,7 @@
// Libraries
#include "SphereShape.h"
#include "../../configuration.h"
#include "configuration.h"
#include <cassert>
using namespace reactphysics3d;

View File

@ -28,8 +28,8 @@
// Libraries
#include "CollisionShape.h"
#include "../../body/CollisionBody.h"
#include "../../mathematics/mathematics.h"
#include "body/CollisionBody.h"
#include "mathematics/mathematics.h"
// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "BallAndSocketJoint.h"
#include "../engine/ConstraintSolver.h"
#include "engine/ConstraintSolver.h"
using namespace reactphysics3d;

View File

@ -28,7 +28,7 @@
// Libraries
#include "Joint.h"
#include "../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
namespace reactphysics3d {

View File

@ -27,10 +27,10 @@
#define REACTPHYSICS3D_CONTACT_POINT_H
// Libraries
#include "../body/CollisionBody.h"
#include "../configuration.h"
#include "../mathematics/mathematics.h"
#include "../configuration.h"
#include "body/CollisionBody.h"
#include "configuration.h"
#include "mathematics/mathematics.h"
#include "configuration.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "FixedJoint.h"
#include "../engine/ConstraintSolver.h"
#include "engine/ConstraintSolver.h"
using namespace reactphysics3d;

View File

@ -28,7 +28,7 @@
// Libraries
#include "Joint.h"
#include "../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
namespace reactphysics3d {

View File

@ -25,7 +25,7 @@
// Libraries
#include "HingeJoint.h"
#include "../engine/ConstraintSolver.h"
#include "engine/ConstraintSolver.h"
#include <cmath>
using namespace reactphysics3d;

View File

@ -28,7 +28,7 @@
// Libraries
#include "Joint.h"
#include "../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
namespace reactphysics3d {

View File

@ -27,9 +27,9 @@
#define REACTPHYSICS3D_CONSTRAINT_H
// Libraries
#include "../configuration.h"
#include "../body/RigidBody.h"
#include "../mathematics/mathematics.h"
#include "configuration.h"
#include "body/RigidBody.h"
#include "mathematics/mathematics.h"
// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -27,8 +27,8 @@
#define REACTPHYSICS3D_SLIDER_JOINT_H
// Libraries
#include "../mathematics/mathematics.h"
#include "../engine/ConstraintSolver.h"
#include "mathematics/mathematics.h"
#include "engine/ConstraintSolver.h"
namespace reactphysics3d {

View File

@ -31,15 +31,15 @@
#include <set>
#include <list>
#include <algorithm>
#include "../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
#include "Profiler.h"
#include "../body/CollisionBody.h"
#include "../collision/RaycastInfo.h"
#include "body/CollisionBody.h"
#include "collision/RaycastInfo.h"
#include "OverlappingPair.h"
#include "../collision/CollisionDetection.h"
#include "../constraint/Joint.h"
#include "../constraint/ContactPoint.h"
#include "../memory/MemoryAllocator.h"
#include "collision/CollisionDetection.h"
#include "constraint/Joint.h"
#include "constraint/ContactPoint.h"
#include "memory/MemoryAllocator.h"
#include "EventListener.h"
/// Namespace reactphysics3d

View File

@ -27,9 +27,9 @@
#define REACTPHYSICS3D_CONSTRAINT_SOLVER_H
// Libraries
#include "../configuration.h"
#include "configuration.h"
#include "mathematics/mathematics.h"
#include "../constraint/Joint.h"
#include "constraint/Joint.h"
#include "Island.h"
#include <map>
#include <set>

View File

@ -28,9 +28,9 @@
// Libraries
#include <vector>
#include "../body/CollisionBody.h"
#include "../constraint/ContactPoint.h"
#include "../memory/MemoryAllocator.h"
#include "body/CollisionBody.h"
#include "constraint/ContactPoint.h"
#include "memory/MemoryAllocator.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -26,7 +26,7 @@
// Libraries
#include "ContactSolver.h"
#include "DynamicsWorld.h"
#include "../body/RigidBody.h"
#include "body/RigidBody.h"
#include "Profiler.h"
#include <limits>

View File

@ -27,9 +27,9 @@
#define REACTPHYSICS3D_CONTACT_SOLVER_H
// Libraries
#include "../constraint/ContactPoint.h"
#include "../configuration.h"
#include "../constraint/Joint.h"
#include "constraint/ContactPoint.h"
#include "configuration.h"
#include "constraint/Joint.h"
#include "ContactManifold.h"
#include "Island.h"
#include "Impulse.h"

View File

@ -28,13 +28,13 @@
// Libraries
#include "CollisionWorld.h"
#include "../collision/CollisionDetection.h"
#include "collision/CollisionDetection.h"
#include "ContactSolver.h"
#include "ConstraintSolver.h"
#include "../body/RigidBody.h"
#include "body/RigidBody.h"
#include "Timer.h"
#include "Island.h"
#include "../configuration.h"
#include "configuration.h"
/// Namespace ReactPhysics3D
namespace reactphysics3d {

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_EVENT_LISTENER_H
// Libraries
#include "../constraint/ContactPoint.h"
#include "constraint/ContactPoint.h"
namespace reactphysics3d {

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_IMPULSE_H
// Libraries
#include "../mathematics/mathematics.h"
#include "mathematics/mathematics.h"
namespace reactphysics3d {

View File

@ -27,9 +27,9 @@
#define REACTPHYSICS3D_ISLAND_H
// Libraries
#include "../memory/MemoryAllocator.h"
#include "../body/RigidBody.h"
#include "../constraint/Joint.h"
#include "memory/MemoryAllocator.h"
#include "body/RigidBody.h"
#include "constraint/Joint.h"
#include "ContactManifold.h"
namespace reactphysics3d {

View File

@ -28,7 +28,7 @@
// Libraries
#include <cassert>
#include "../configuration.h"
#include "configuration.h"
namespace reactphysics3d {

View File

@ -29,7 +29,7 @@
// Libraries
#include "ContactManifold.h"
#include "collision/ProxyShape.h"
#include "../collision/shapes/CollisionShape.h"
#include "collision/shapes/CollisionShape.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -29,7 +29,7 @@
#ifdef IS_PROFILING_ACTIVE
// Libraries
#include "../configuration.h"
#include "configuration.h"
#include "Timer.h"
/// ReactPhysics3D namespace

View File

@ -31,7 +31,7 @@
#include <iostream>
#include <ctime>
#include <cassert>
#include "../configuration.h"
#include "configuration.h"
#if defined(WINDOWS_OS) // For Windows platform
#define NOMINMAX // This is used to avoid definition of max() and min() macros

View File

@ -30,7 +30,7 @@
#include <cmath>
#include "Vector3.h"
#include "Matrix3x3.h"
#include "../decimal.h"
#include "decimal.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -30,7 +30,7 @@
#include <cmath>
#include <cassert>
#include "mathematics_functions.h"
#include "../decimal.h"
#include "decimal.h"
/// ReactPhysics3D namespace

View File

@ -30,7 +30,7 @@
#include <cmath>
#include <cassert>
#include "mathematics_functions.h"
#include "../decimal.h"
#include "decimal.h"
/// ReactPhysics3D namespace

View File

@ -33,7 +33,7 @@
#include "Vector3.h"
#include "Vector2.h"
#include "Transform.h"
#include "../configuration.h"
#include "configuration.h"
#include "mathematics_functions.h"
#include <vector>
#include <cstdio>

View File

@ -27,8 +27,8 @@
#define REACTPHYSICS3D_MATHEMATICS_FUNCTIONS_H
// Libraries
#include "../configuration.h"
#include "../decimal.h"
#include "configuration.h"
#include "decimal.h"
#include <algorithm>
/// ReactPhysics3D namespace

View File

@ -28,7 +28,7 @@
// Libraries
#include <cstring>
#include "../configuration.h"
#include "configuration.h"
/// ReactPhysics3D namespace
namespace reactphysics3d {

View File

@ -27,7 +27,7 @@
#define REACTPHYSICS3D_STACK_H
// Libraries
#include "../configuration.h"
#include "configuration.h"
namespace reactphysics3d {

View File

@ -27,7 +27,7 @@
#define TEST_RAYCAST_H
// Libraries
#include "../../Test.h"
#include "Test.h"
#include "engine/CollisionWorld.h"
#include "body/CollisionBody.h"
#include "collision/shapes/BoxShape.h"

View File

@ -27,8 +27,8 @@
#define TEST_MATRIX2X2_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Matrix2x2.h"
#include "Test.h"
#include "mathematics/Matrix2x2.h"
/// Reactphysics3D namespace
namespace reactphysics3d {

View File

@ -27,8 +27,8 @@
#define TEST_MATRIX3X3_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Matrix3x3.h"
#include "Test.h"
#include "mathematics/Matrix3x3.h"
/// Reactphysics3D namespace
namespace reactphysics3d {

View File

@ -28,8 +28,8 @@
#define TEST_QUATERNION_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Quaternion.h"
#include "Test.h"
#include "mathematics/Quaternion.h"
/// Reactphysics3D namespace
namespace reactphysics3d {

View File

@ -28,8 +28,8 @@
#define TEST_TRANSFORM_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Transform.h"
#include "Test.h"
#include "mathematics/Transform.h"
/// Reactphysics3D namespace
namespace reactphysics3d {

View File

@ -27,8 +27,8 @@
#define TEST_VECTOR2_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Vector2.h"
#include "Test.h"
#include "mathematics/Vector2.h"
/// Reactphysics3D namespace
namespace reactphysics3d {

View File

@ -27,8 +27,8 @@
#define TEST_VECTOR3_H
// Libraries
#include "../../Test.h"
#include "../../../src/mathematics/Vector3.h"
#include "Test.h"
#include "mathematics/Vector3.h"
/// Reactphysics3D namespace
namespace reactphysics3d {