From a190bba8c05a0fb70ba2f4b914e66c9ab9fc92f6 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Wed, 18 Mar 2020 07:28:34 +0100 Subject: [PATCH] Refactor where the headers are store for better installation of the library --- CHANGELOG.md | 4 + CMakeLists.txt | 222 +++++++++--------- .../reactphysics3d}/body/CollisionBody.h | 8 +- .../reactphysics3d}/body/RigidBody.h | 4 +- .../reactphysics3d}/collision/Collider.h | 8 +- .../collision/CollisionCallback.h | 6 +- .../collision/ContactManifold.h | 2 +- .../collision/ContactManifoldInfo.h | 6 +- .../reactphysics3d}/collision/ContactPair.h | 6 +- .../collision/ContactPointInfo.h | 4 +- .../collision/HalfEdgeStructure.h | 2 +- .../collision/OverlapCallback.h | 2 +- .../collision/PolygonVertexArray.h | 2 +- .../collision/PolyhedronMesh.h | 2 +- .../reactphysics3d}/collision/RaycastInfo.h | 2 +- .../reactphysics3d}/collision/TriangleMesh.h | 4 +- .../collision/TriangleVertexArray.h | 2 +- .../collision/broadphase/DynamicAABBTree.h | 6 +- .../narrowphase/CapsuleVsCapsuleAlgorithm.h | 4 +- .../CapsuleVsCapsuleNarrowPhaseInfoBatch.h | 2 +- .../CapsuleVsConvexPolyhedronAlgorithm.h | 2 +- .../collision/narrowphase/CollisionDispatch.h | 15 +- ...vexPolyhedronVsConvexPolyhedronAlgorithm.h | 2 +- .../collision/narrowphase/GJK/GJKAlgorithm.h | 4 +- .../narrowphase/GJK/VoronoiSimplex.h | 2 +- .../narrowphase/NarrowPhaseAlgorithm.h | 2 +- .../narrowphase/NarrowPhaseInfoBatch.h | 2 +- .../collision/narrowphase/NarrowPhaseInput.h | 10 +- .../collision/narrowphase/SAT/SATAlgorithm.h | 4 +- .../narrowphase/SphereVsCapsuleAlgorithm.h | 3 +- .../SphereVsCapsuleNarrowPhaseInfoBatch.h | 2 +- .../SphereVsConvexPolyhedronAlgorithm.h | 2 +- .../narrowphase/SphereVsSphereAlgorithm.h | 2 +- .../SphereVsSphereNarrowPhaseInfoBatch.h | 2 +- .../reactphysics3d}/collision/shapes/AABB.h | 2 +- .../collision/shapes/BoxShape.h | 4 +- .../collision/shapes/CapsuleShape.h | 4 +- .../collision/shapes/CollisionShape.h | 6 +- .../collision/shapes/ConcaveMeshShape.h | 6 +- .../collision/shapes/ConcaveShape.h | 4 +- .../collision/shapes/ConvexMeshShape.h | 6 +- .../collision/shapes/ConvexPolyhedronShape.h | 4 +- .../collision/shapes/ConvexShape.h | 2 +- .../collision/shapes/HeightFieldShape.h | 4 +- .../collision/shapes/SphereShape.h | 4 +- .../collision/shapes/TriangleShape.h | 4 +- .../components/BallAndSocketJointComponents.h | 10 +- .../components/ColliderComponents.h | 10 +- .../components/CollisionBodyComponents.h | 8 +- .../reactphysics3d}/components/Components.h | 6 +- .../components/FixedJointComponents.h | 10 +- .../components/HingeJointComponents.h | 12 +- .../components/JointComponents.h | 8 +- .../components/RigidBodyComponents.h | 10 +- .../components/SliderJointComponents.h | 12 +- .../components/TransformComponents.h | 8 +- .../reactphysics3d}/configuration.h | 4 +- .../constraint/BallAndSocketJoint.h | 4 +- .../reactphysics3d}/constraint/ContactPoint.h | 6 +- .../reactphysics3d}/constraint/FixedJoint.h | 4 +- .../reactphysics3d}/constraint/HingeJoint.h | 4 +- .../reactphysics3d}/constraint/Joint.h | 6 +- .../reactphysics3d}/constraint/SliderJoint.h | 6 +- .../reactphysics3d}/containers/Deque.h | 4 +- .../reactphysics3d}/containers/LinkedList.h | 2 +- .../reactphysics3d}/containers/List.h | 4 +- .../reactphysics3d}/containers/Map.h | 7 +- .../reactphysics3d}/containers/Pair.h | 6 +- .../reactphysics3d}/containers/Set.h | 4 +- .../reactphysics3d}/containers/Stack.h | 4 +- .../containers/containers_common.h | 0 {src => include/reactphysics3d}/decimal.h | 0 .../reactphysics3d}/engine/Entity.h | 2 +- .../reactphysics3d}/engine/EntityManager.h | 8 +- .../reactphysics3d}/engine/EventListener.h | 2 +- .../reactphysics3d}/engine/Island.h | 2 +- .../reactphysics3d}/engine/Islands.h | 8 +- .../reactphysics3d}/engine/Material.h | 2 +- .../reactphysics3d}/engine/OverlappingPairs.h | 18 +- .../reactphysics3d}/engine/PhysicsCommon.h | 18 +- .../reactphysics3d}/engine/PhysicsWorld.h | 46 ++-- .../reactphysics3d}/engine/Timer.h | 2 +- .../reactphysics3d}/mathematics/Matrix2x2.h | 2 +- .../reactphysics3d}/mathematics/Matrix3x3.h | 2 +- .../reactphysics3d}/mathematics/Quaternion.h | 4 +- .../reactphysics3d}/mathematics/Ray.h | 2 +- .../reactphysics3d}/mathematics/Transform.h | 4 +- .../reactphysics3d}/mathematics/Vector2.h | 5 +- .../reactphysics3d}/mathematics/Vector3.h | 5 +- .../reactphysics3d}/mathematics/mathematics.h | 18 +- .../mathematics/mathematics_functions.h | 6 +- .../reactphysics3d}/memory/DefaultAllocator.h | 2 +- .../reactphysics3d}/memory/HeapAllocator.h | 6 +- .../reactphysics3d}/memory/MemoryAllocator.h | 0 .../reactphysics3d}/memory/MemoryManager.h | 8 +- .../reactphysics3d}/memory/PoolAllocator.h | 4 +- .../memory/SingleFrameAllocator.h | 4 +- .../reactphysics3d}/reactphysics3d.h | 60 ++--- .../systems/BroadPhaseSystem.h | 12 +- .../systems/CollisionDetectionSystem.h | 32 +-- .../systems/ConstraintSolverSystem.h | 12 +- .../systems/ContactSolverSystem.h | 6 +- .../reactphysics3d}/systems/DynamicsSystem.h | 10 +- .../systems/SolveBallAndSocketJointSystem.h | 10 +- .../systems/SolveFixedJointSystem.h | 10 +- .../systems/SolveHingeJointSystem.h | 10 +- .../systems/SolveSliderJointSystem.h | 10 +- .../reactphysics3d}/utils/Logger.h | 4 +- .../reactphysics3d}/utils/Profiler.h | 0 src/body/CollisionBody.cpp | 10 +- src/body/RigidBody.cpp | 8 +- src/collision/Collider.cpp | 10 +- src/collision/CollisionCallback.cpp | 8 +- src/collision/ContactManifold.cpp | 6 +- src/collision/HalfEdgeStructure.cpp | 8 +- src/collision/OverlapCallback.cpp | 4 +- src/collision/PolygonVertexArray.cpp | 2 +- src/collision/PolyhedronMesh.cpp | 6 +- src/collision/RaycastInfo.cpp | 6 +- src/collision/TriangleMesh.cpp | 2 +- src/collision/TriangleVertexArray.cpp | 4 +- src/collision/broadphase/DynamicAABBTree.cpp | 8 +- .../narrowphase/CapsuleVsCapsuleAlgorithm.cpp | 6 +- .../CapsuleVsCapsuleNarrowPhaseInfoBatch.cpp | 4 +- .../CapsuleVsConvexPolyhedronAlgorithm.cpp | 14 +- .../narrowphase/CollisionDispatch.cpp | 2 +- ...xPolyhedronVsConvexPolyhedronAlgorithm.cpp | 8 +- .../narrowphase/GJK/GJKAlgorithm.cpp | 18 +- .../narrowphase/GJK/VoronoiSimplex.cpp | 4 +- .../narrowphase/NarrowPhaseInfoBatch.cpp | 8 +- .../narrowphase/NarrowPhaseInput.cpp | 4 +- .../narrowphase/SAT/SATAlgorithm.cpp | 20 +- .../narrowphase/SphereVsCapsuleAlgorithm.cpp | 8 +- .../SphereVsCapsuleNarrowPhaseInfoBatch.cpp | 6 +- .../SphereVsConvexPolyhedronAlgorithm.cpp | 8 +- .../narrowphase/SphereVsSphereAlgorithm.cpp | 6 +- .../SphereVsSphereNarrowPhaseInfoBatch.cpp | 4 +- src/collision/shapes/AABB.cpp | 4 +- src/collision/shapes/BoxShape.cpp | 10 +- src/collision/shapes/CapsuleShape.cpp | 8 +- src/collision/shapes/CollisionShape.cpp | 8 +- src/collision/shapes/ConcaveMeshShape.cpp | 12 +- src/collision/shapes/ConcaveShape.cpp | 3 +- src/collision/shapes/ConvexMeshShape.cpp | 8 +- .../shapes/ConvexPolyhedronShape.cpp | 2 +- src/collision/shapes/ConvexShape.cpp | 4 +- src/collision/shapes/HeightFieldShape.cpp | 6 +- src/collision/shapes/SphereShape.cpp | 8 +- src/collision/shapes/TriangleShape.cpp | 12 +- .../BallAndSocketJointComponents.cpp | 6 +- src/components/ColliderComponents.cpp | 6 +- src/components/CollisionBodyComponents.cpp | 4 +- src/components/Components.cpp | 2 +- src/components/FixedJointComponents.cpp | 6 +- src/components/HingeJointComponents.cpp | 6 +- src/components/JointComponents.cpp | 4 +- src/components/RigidBodyComponents.cpp | 6 +- src/components/SliderJointComponents.cpp | 6 +- src/components/TransformComponents.cpp | 4 +- src/constraint/BallAndSocketJoint.cpp | 8 +- src/constraint/ContactPoint.cpp | 4 +- src/constraint/FixedJoint.cpp | 8 +- src/constraint/HingeJoint.cpp | 8 +- src/constraint/Joint.cpp | 4 +- src/constraint/SliderJoint.cpp | 8 +- src/engine/Entity.cpp | 2 +- src/engine/EntityManager.cpp | 4 +- src/engine/Island.cpp | 4 +- src/engine/Material.cpp | 2 +- src/engine/OverlappingPairs.cpp | 10 +- src/engine/PhysicsCommon.cpp | 2 +- src/engine/PhysicsWorld.cpp | 20 +- src/engine/Timer.cpp | 2 +- src/mathematics/Matrix2x2.cpp | 2 +- src/mathematics/Matrix3x3.cpp | 2 +- src/mathematics/Quaternion.cpp | 6 +- src/mathematics/Transform.cpp | 4 +- src/mathematics/Vector2.cpp | 2 +- src/mathematics/Vector3.cpp | 2 +- src/mathematics/mathematics_functions.cpp | 6 +- src/memory/HeapAllocator.cpp | 4 +- src/memory/MemoryManager.cpp | 2 +- src/memory/PoolAllocator.cpp | 4 +- src/memory/SingleFrameAllocator.cpp | 4 +- src/systems/BroadPhaseSystem.cpp | 12 +- src/systems/CollisionDetectionSystem.cpp | 34 +-- src/systems/ConstraintSolverSystem.cpp | 10 +- src/systems/ContactSolverSystem.cpp | 20 +- src/systems/DynamicsSystem.cpp | 6 +- src/systems/SolveBallAndSocketJointSystem.cpp | 6 +- src/systems/SolveFixedJointSystem.cpp | 6 +- src/systems/SolveHingeJointSystem.cpp | 6 +- src/systems/SolveSliderJointSystem.cpp | 6 +- src/utils/Logger.cpp | 4 +- src/utils/Profiler.cpp | 2 +- test/tests/collision/TestAABB.h | 2 +- test/tests/collision/TestCollisionWorld.h | 6 +- test/tests/collision/TestDynamicAABBTree.h | 8 +- test/tests/collision/TestHalfEdgeStructure.h | 2 +- test/tests/collision/TestPointInside.h | 14 +- test/tests/collision/TestRaycast.h | 28 +-- .../tests/collision/TestTriangleVertexArray.h | 2 +- test/tests/containers/TestDeque.h | 4 +- test/tests/containers/TestList.h | 4 +- test/tests/containers/TestMap.h | 4 +- test/tests/containers/TestSet.h | 4 +- test/tests/containers/TestStack.h | 4 +- .../mathematics/TestMathematicsFunctions.h | 4 +- test/tests/mathematics/TestMatrix2x2.h | 2 +- test/tests/mathematics/TestMatrix3x3.h | 2 +- test/tests/mathematics/TestQuaternion.h | 2 +- test/tests/mathematics/TestTransform.h | 4 +- test/tests/mathematics/TestVector2.h | 2 +- test/tests/mathematics/TestVector3.h | 2 +- testbed/common/AABB.h | 2 +- testbed/common/Box.h | 2 +- testbed/common/Capsule.h | 2 +- testbed/common/ConcaveMesh.h | 2 +- testbed/common/ConvexMesh.h | 2 +- testbed/common/Dumbbell.h | 2 +- testbed/common/HeightField.h | 2 +- testbed/common/Line.h | 2 +- testbed/common/PhysicsObject.h | 2 +- testbed/common/Sphere.h | 2 +- .../CollisionDetectionScene.cpp | 4 +- .../CollisionDetectionScene.h | 2 +- .../collisionshapes/CollisionShapesScene.h | 2 +- testbed/scenes/concavemesh/ConcaveMeshScene.h | 2 +- testbed/scenes/cubes/CubesScene.h | 2 +- testbed/scenes/cubestack/CubeStackScene.h | 2 +- testbed/scenes/heightfield/HeightFieldScene.h | 2 +- testbed/scenes/joints/JointsScene.h | 2 +- testbed/scenes/pile/PileScene.h | 2 +- testbed/scenes/raycast/RaycastScene.h | 2 +- testbed/src/Scene.h | 2 +- testbed/src/SceneDemo.cpp | 4 +- testbed/src/SceneDemo.h | 2 +- testbed/src/Timer.h | 2 +- 238 files changed, 821 insertions(+), 821 deletions(-) rename {src => include/reactphysics3d}/body/CollisionBody.h (97%) rename {src => include/reactphysics3d}/body/RigidBody.h (98%) rename {src => include/reactphysics3d}/collision/Collider.h (97%) rename {src => include/reactphysics3d}/collision/CollisionCallback.h (98%) rename {src => include/reactphysics3d}/collision/ContactManifold.h (99%) rename {src => include/reactphysics3d}/collision/ContactManifoldInfo.h (95%) rename {src => include/reactphysics3d}/collision/ContactPair.h (96%) rename {src => include/reactphysics3d}/collision/ContactPointInfo.h (97%) rename {src => include/reactphysics3d}/collision/HalfEdgeStructure.h (99%) rename {src => include/reactphysics3d}/collision/OverlapCallback.h (99%) rename {src => include/reactphysics3d}/collision/PolygonVertexArray.h (99%) rename {src => include/reactphysics3d}/collision/PolyhedronMesh.h (99%) rename {src => include/reactphysics3d}/collision/RaycastInfo.h (99%) rename {src => include/reactphysics3d}/collision/TriangleMesh.h (97%) rename {src => include/reactphysics3d}/collision/TriangleVertexArray.h (99%) rename {src => include/reactphysics3d}/collision/broadphase/DynamicAABBTree.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h (94%) rename {src => include/reactphysics3d}/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/CollisionDispatch.h (94%) rename {src => include/reactphysics3d}/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/GJK/GJKAlgorithm.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/GJK/VoronoiSimplex.h (99%) rename {src => include/reactphysics3d}/collision/narrowphase/NarrowPhaseAlgorithm.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/NarrowPhaseInfoBatch.h (99%) rename {src => include/reactphysics3d}/collision/narrowphase/NarrowPhaseInput.h (93%) rename {src => include/reactphysics3d}/collision/narrowphase/SAT/SATAlgorithm.h (99%) rename {src => include/reactphysics3d}/collision/narrowphase/SphereVsCapsuleAlgorithm.h (96%) rename {src => include/reactphysics3d}/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h (98%) rename {src => include/reactphysics3d}/collision/narrowphase/SphereVsSphereAlgorithm.h (95%) rename {src => include/reactphysics3d}/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h (98%) rename {src => include/reactphysics3d}/collision/shapes/AABB.h (99%) rename {src => include/reactphysics3d}/collision/shapes/BoxShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/CapsuleShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/CollisionShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/ConcaveMeshShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/ConcaveShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/ConvexMeshShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/ConvexPolyhedronShape.h (97%) rename {src => include/reactphysics3d}/collision/shapes/ConvexShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/HeightFieldShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/SphereShape.h (98%) rename {src => include/reactphysics3d}/collision/shapes/TriangleShape.h (99%) rename {src => include/reactphysics3d}/components/BallAndSocketJointComponents.h (98%) rename {src => include/reactphysics3d}/components/ColliderComponents.h (98%) rename {src => include/reactphysics3d}/components/CollisionBodyComponents.h (97%) rename {src => include/reactphysics3d}/components/Components.h (97%) rename {src => include/reactphysics3d}/components/FixedJointComponents.h (98%) rename {src => include/reactphysics3d}/components/HingeJointComponents.h (99%) rename {src => include/reactphysics3d}/components/JointComponents.h (98%) rename {src => include/reactphysics3d}/components/RigidBodyComponents.h (99%) rename {src => include/reactphysics3d}/components/SliderJointComponents.h (99%) rename {src => include/reactphysics3d}/components/TransformComponents.h (96%) rename {src => include/reactphysics3d}/configuration.h (98%) rename {src => include/reactphysics3d}/constraint/BallAndSocketJoint.h (97%) rename {src => include/reactphysics3d}/constraint/ContactPoint.h (98%) rename {src => include/reactphysics3d}/constraint/FixedJoint.h (97%) rename {src => include/reactphysics3d}/constraint/HingeJoint.h (99%) rename {src => include/reactphysics3d}/constraint/Joint.h (97%) rename {src => include/reactphysics3d}/constraint/SliderJoint.h (98%) rename {src => include/reactphysics3d}/containers/Deque.h (99%) rename {src => include/reactphysics3d}/containers/LinkedList.h (98%) rename {src => include/reactphysics3d}/containers/List.h (99%) rename {src => include/reactphysics3d}/containers/Map.h (99%) rename {src => include/reactphysics3d}/containers/Pair.h (96%) rename {src => include/reactphysics3d}/containers/Set.h (99%) rename {src => include/reactphysics3d}/containers/Stack.h (98%) rename {src => include/reactphysics3d}/containers/containers_common.h (100%) rename {src => include/reactphysics3d}/decimal.h (100%) rename {src => include/reactphysics3d}/engine/Entity.h (99%) rename {src => include/reactphysics3d}/engine/EntityManager.h (94%) rename {src => include/reactphysics3d}/engine/EventListener.h (98%) rename {src => include/reactphysics3d}/engine/Island.h (99%) rename {src => include/reactphysics3d}/engine/Islands.h (96%) rename {src => include/reactphysics3d}/engine/Material.h (99%) rename {src => include/reactphysics3d}/engine/OverlappingPairs.h (96%) rename {src => include/reactphysics3d}/engine/PhysicsCommon.h (93%) rename {src => include/reactphysics3d}/engine/PhysicsWorld.h (96%) rename {src => include/reactphysics3d}/engine/Timer.h (99%) rename {src => include/reactphysics3d}/mathematics/Matrix2x2.h (99%) rename {src => include/reactphysics3d}/mathematics/Matrix3x3.h (99%) rename {src => include/reactphysics3d}/mathematics/Quaternion.h (99%) rename {src => include/reactphysics3d}/mathematics/Ray.h (98%) rename {src => include/reactphysics3d}/mathematics/Transform.h (99%) rename {src => include/reactphysics3d}/mathematics/Vector2.h (99%) rename {src => include/reactphysics3d}/mathematics/Vector3.h (99%) rename {src => include/reactphysics3d}/mathematics/mathematics.h (82%) rename {src => include/reactphysics3d}/mathematics/mathematics_functions.h (96%) rename {src => include/reactphysics3d}/memory/DefaultAllocator.h (98%) rename {src => include/reactphysics3d}/memory/HeapAllocator.h (97%) rename {src => include/reactphysics3d}/memory/MemoryAllocator.h (100%) rename {src => include/reactphysics3d}/memory/MemoryManager.h (96%) rename {src => include/reactphysics3d}/memory/PoolAllocator.h (98%) rename {src => include/reactphysics3d}/memory/SingleFrameAllocator.h (97%) rename {src => include/reactphysics3d}/reactphysics3d.h (62%) rename {src => include/reactphysics3d}/systems/BroadPhaseSystem.h (96%) rename {src => include/reactphysics3d}/systems/CollisionDetectionSystem.h (95%) rename {src => include/reactphysics3d}/systems/ConstraintSolverSystem.h (96%) rename {src => include/reactphysics3d}/systems/ContactSolverSystem.h (99%) rename {src => include/reactphysics3d}/systems/DynamicsSystem.h (94%) rename {src => include/reactphysics3d}/systems/SolveBallAndSocketJointSystem.h (94%) rename {src => include/reactphysics3d}/systems/SolveFixedJointSystem.h (94%) rename {src => include/reactphysics3d}/systems/SolveHingeJointSystem.h (95%) rename {src => include/reactphysics3d}/systems/SolveSliderJointSystem.h (94%) rename {src => include/reactphysics3d}/utils/Logger.h (99%) rename {src => include/reactphysics3d}/utils/Profiler.h (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c7b7cf..27a22bc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ - The RigidBody::updateMassFromColliders() method has been added to compute and set the mass of a body using its colliders - A Material nows has a mass density parameter that can be set using the Material::setMassDensity() method. The mass density is used to compute the mass of a collider when computing the mass of a rigid body +### Fixed + + - Issues [#125](https://github.com/DanielChappuis/reactphysics3d/issues/125) and [#106](https://github.com/DanielChappuis/reactphysics3d/issues/106) have been fixed. + ### Changed - The CollisionWorld::testCollision() methods do not have the 'categoryMaskBits' parameter anymore. diff --git a/CMakeLists.txt b/CMakeLists.txt index d5962133..cd10251e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,114 +72,114 @@ IF(RP3D_DOUBLE_PRECISION_ENABLED) ADD_DEFINITIONS(-DIS_DOUBLE_PRECISION_ENABLED) ENDIF() -# Headers files +# Headers filen1s SET (REACTPHYSICS3D_HEADERS - "src/configuration.h" - "src/decimal.h" - "src/reactphysics3d.h" - "src/body/CollisionBody.h" - "src/body/RigidBody.h" - "src/collision/ContactPointInfo.h" - "src/collision/ContactManifoldInfo.h" - "src/collision/ContactPair.h" - "src/collision/broadphase/DynamicAABBTree.h" - "src/collision/narrowphase/CollisionDispatch.h" - "src/collision/narrowphase/GJK/VoronoiSimplex.h" - "src/collision/narrowphase/GJK/GJKAlgorithm.h" - "src/collision/narrowphase/SAT/SATAlgorithm.h" - "src/collision/narrowphase/NarrowPhaseAlgorithm.h" - "src/collision/narrowphase/SphereVsSphereAlgorithm.h" - "src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h" - "src/collision/narrowphase/SphereVsCapsuleAlgorithm.h" - "src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h" - "src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h" - "src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h" - "src/collision/narrowphase/NarrowPhaseInput.h" - "src/collision/narrowphase/NarrowPhaseInfoBatch.h" - "src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h" - "src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h" - "src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h" - "src/collision/shapes/AABB.h" - "src/collision/shapes/ConvexShape.h" - "src/collision/shapes/ConvexPolyhedronShape.h" - "src/collision/shapes/ConcaveShape.h" - "src/collision/shapes/BoxShape.h" - "src/collision/shapes/CapsuleShape.h" - "src/collision/shapes/CollisionShape.h" - "src/collision/shapes/ConvexMeshShape.h" - "src/collision/shapes/SphereShape.h" - "src/collision/shapes/TriangleShape.h" - "src/collision/shapes/ConcaveMeshShape.h" - "src/collision/shapes/HeightFieldShape.h" - "src/collision/RaycastInfo.h" - "src/collision/Collider.h" - "src/collision/TriangleVertexArray.h" - "src/collision/PolygonVertexArray.h" - "src/collision/TriangleMesh.h" - "src/collision/PolyhedronMesh.h" - "src/collision/HalfEdgeStructure.h" - "src/collision/ContactManifold.h" - "src/constraint/BallAndSocketJoint.h" - "src/constraint/ContactPoint.h" - "src/constraint/FixedJoint.h" - "src/constraint/HingeJoint.h" - "src/constraint/Joint.h" - "src/constraint/SliderJoint.h" - "src/engine/Entity.h" - "src/engine/EntityManager.h" - "src/engine/PhysicsCommon.h" - "src/systems/ConstraintSolverSystem.h" - "src/systems/ContactSolverSystem.h" - "src/systems/DynamicsSystem.h" - "src/systems/CollisionDetectionSystem.h" - "src/systems/SolveBallAndSocketJointSystem.h" - "src/systems/SolveFixedJointSystem.h" - "src/systems/SolveHingeJointSystem.h" - "src/systems/SolveSliderJointSystem.h" - "src/engine/PhysicsWorld.h" - "src/engine/EventListener.h" - "src/engine/Island.h" - "src/engine/Islands.h" - "src/engine/Material.h" - "src/engine/OverlappingPairs.h" - "src/engine/Timer.h" - "src/systems/BroadPhaseSystem.h" - "src/components/Components.h" - "src/components/CollisionBodyComponents.h" - "src/components/RigidBodyComponents.h" - "src/components/TransformComponents.h" - "src/components/ColliderComponents.h" - "src/components/JointComponents.h" - "src/components/BallAndSocketJointComponents.h" - "src/components/FixedJointComponents.h" - "src/components/HingeJointComponents.h" - "src/components/SliderJointComponents.h" - "src/collision/CollisionCallback.h" - "src/collision/OverlapCallback.h" - "src/mathematics/mathematics.h" - "src/mathematics/mathematics_functions.h" - "src/mathematics/Matrix2x2.h" - "src/mathematics/Matrix3x3.h" - "src/mathematics/Quaternion.h" - "src/mathematics/Transform.h" - "src/mathematics/Vector2.h" - "src/mathematics/Vector3.h" - "src/mathematics/Ray.h" - "src/memory/MemoryAllocator.h" - "src/memory/PoolAllocator.h" - "src/memory/SingleFrameAllocator.h" - "src/memory/HeapAllocator.h" - "src/memory/DefaultAllocator.h" - "src/memory/MemoryManager.h" - "src/containers/Stack.h" - "src/containers/LinkedList.h" - "src/containers/List.h" - "src/containers/Map.h" - "src/containers/Set.h" - "src/containers/Pair.h" - "src/containers/Deque.h" - "src/utils/Profiler.h" - "src/utils/Logger.h" + "include/reactphysics3d/configuration.h" + "include/reactphysics3d/decimal.h" + "include/reactphysics3d/reactphysics3d.h" + "include/reactphysics3d/body/CollisionBody.h" + "include/reactphysics3d/body/RigidBody.h" + "include/reactphysics3d/collision/ContactPointInfo.h" + "include/reactphysics3d/collision/ContactManifoldInfo.h" + "include/reactphysics3d/collision/ContactPair.h" + "include/reactphysics3d/collision/broadphase/DynamicAABBTree.h" + "include/reactphysics3d/collision/narrowphase/CollisionDispatch.h" + "include/reactphysics3d/collision/narrowphase/GJK/VoronoiSimplex.h" + "include/reactphysics3d/collision/narrowphase/GJK/GJKAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/SAT/SATAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/SphereVsSphereAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/SphereVsCapsuleAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h" + "include/reactphysics3d/collision/narrowphase/NarrowPhaseInput.h" + "include/reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h" + "include/reactphysics3d/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h" + "include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h" + "include/reactphysics3d/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h" + "include/reactphysics3d/collision/shapes/AABB.h" + "include/reactphysics3d/collision/shapes/ConvexShape.h" + "include/reactphysics3d/collision/shapes/ConvexPolyhedronShape.h" + "include/reactphysics3d/collision/shapes/ConcaveShape.h" + "include/reactphysics3d/collision/shapes/BoxShape.h" + "include/reactphysics3d/collision/shapes/CapsuleShape.h" + "include/reactphysics3d/collision/shapes/CollisionShape.h" + "include/reactphysics3d/collision/shapes/ConvexMeshShape.h" + "include/reactphysics3d/collision/shapes/SphereShape.h" + "include/reactphysics3d/collision/shapes/TriangleShape.h" + "include/reactphysics3d/collision/shapes/ConcaveMeshShape.h" + "include/reactphysics3d/collision/shapes/HeightFieldShape.h" + "include/reactphysics3d/collision/RaycastInfo.h" + "include/reactphysics3d/collision/Collider.h" + "include/reactphysics3d/collision/TriangleVertexArray.h" + "include/reactphysics3d/collision/PolygonVertexArray.h" + "include/reactphysics3d/collision/TriangleMesh.h" + "include/reactphysics3d/collision/PolyhedronMesh.h" + "include/reactphysics3d/collision/HalfEdgeStructure.h" + "include/reactphysics3d/collision/ContactManifold.h" + "include/reactphysics3d/constraint/BallAndSocketJoint.h" + "include/reactphysics3d/constraint/ContactPoint.h" + "include/reactphysics3d/constraint/FixedJoint.h" + "include/reactphysics3d/constraint/HingeJoint.h" + "include/reactphysics3d/constraint/Joint.h" + "include/reactphysics3d/constraint/SliderJoint.h" + "include/reactphysics3d/engine/Entity.h" + "include/reactphysics3d/engine/EntityManager.h" + "include/reactphysics3d/engine/PhysicsCommon.h" + "include/reactphysics3d/systems/ConstraintSolverSystem.h" + "include/reactphysics3d/systems/ContactSolverSystem.h" + "include/reactphysics3d/systems/DynamicsSystem.h" + "include/reactphysics3d/systems/CollisionDetectionSystem.h" + "include/reactphysics3d/systems/SolveBallAndSocketJointSystem.h" + "include/reactphysics3d/systems/SolveFixedJointSystem.h" + "include/reactphysics3d/systems/SolveHingeJointSystem.h" + "include/reactphysics3d/systems/SolveSliderJointSystem.h" + "include/reactphysics3d/engine/PhysicsWorld.h" + "include/reactphysics3d/engine/EventListener.h" + "include/reactphysics3d/engine/Island.h" + "include/reactphysics3d/engine/Islands.h" + "include/reactphysics3d/engine/Material.h" + "include/reactphysics3d/engine/OverlappingPairs.h" + "include/reactphysics3d/engine/Timer.h" + "include/reactphysics3d/systems/BroadPhaseSystem.h" + "include/reactphysics3d/components/Components.h" + "include/reactphysics3d/components/CollisionBodyComponents.h" + "include/reactphysics3d/components/RigidBodyComponents.h" + "include/reactphysics3d/components/TransformComponents.h" + "include/reactphysics3d/components/ColliderComponents.h" + "include/reactphysics3d/components/JointComponents.h" + "include/reactphysics3d/components/BallAndSocketJointComponents.h" + "include/reactphysics3d/components/FixedJointComponents.h" + "include/reactphysics3d/components/HingeJointComponents.h" + "include/reactphysics3d/components/SliderJointComponents.h" + "include/reactphysics3d/collision/CollisionCallback.h" + "include/reactphysics3d/collision/OverlapCallback.h" + "include/reactphysics3d/mathematics/mathematics.h" + "include/reactphysics3d/mathematics/mathematics_functions.h" + "include/reactphysics3d/mathematics/Matrix2x2.h" + "include/reactphysics3d/mathematics/Matrix3x3.h" + "include/reactphysics3d/mathematics/Quaternion.h" + "include/reactphysics3d/mathematics/Transform.h" + "include/reactphysics3d/mathematics/Vector2.h" + "include/reactphysics3d/mathematics/Vector3.h" + "include/reactphysics3d/mathematics/Ray.h" + "include/reactphysics3d/memory/MemoryAllocator.h" + "include/reactphysics3d/memory/PoolAllocator.h" + "include/reactphysics3d/memory/SingleFrameAllocator.h" + "include/reactphysics3d/memory/HeapAllocator.h" + "include/reactphysics3d/memory/DefaultAllocator.h" + "include/reactphysics3d/memory/MemoryManager.h" + "include/reactphysics3d/containers/Stack.h" + "include/reactphysics3d/containers/LinkedList.h" + "include/reactphysics3d/containers/List.h" + "include/reactphysics3d/containers/Map.h" + "include/reactphysics3d/containers/Set.h" + "include/reactphysics3d/containers/Pair.h" + "include/reactphysics3d/containers/Deque.h" + "include/reactphysics3d/utils/Profiler.h" + "include/reactphysics3d/utils/Logger.h" ) # Source files @@ -277,7 +277,7 @@ ADD_LIBRARY(reactphysics3d ${REACTPHYSICS3D_HEADERS} ${REACTPHYSICS3D_SOURCES}) # Headers TARGET_INCLUDE_DIRECTORIES(reactphysics3d PUBLIC - $ + $ $ ) @@ -291,7 +291,7 @@ IF(RP3D_COMPILE_TESTS) add_subdirectory(test/) ENDIF() -SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER "${REACTPHYSICS3D_HEADERS}") +#SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER "${REACTPHYSICS3D_HEADERS}") # Version number and soname for the library SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES @@ -304,5 +304,7 @@ INSTALL(TARGETS reactphysics3d ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/reactphysics3d ) + +# Install the headers separately (because INSTALL(TARGETS ... PUBLIC_HEADER DESTINATION ...) does not support subfolders +INSTALL(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/src/body/CollisionBody.h b/include/reactphysics3d/body/CollisionBody.h similarity index 97% rename from src/body/CollisionBody.h rename to include/reactphysics3d/body/CollisionBody.h index 402b2169..184ec429 100644 --- a/src/body/CollisionBody.h +++ b/include/reactphysics3d/body/CollisionBody.h @@ -28,10 +28,10 @@ // Libraries #include -#include "engine/Entity.h" -#include "collision/shapes/AABB.h" -#include "mathematics/Transform.h" -#include "configuration.h" +#include +#include +#include +#include /// Namespace reactphysics3d namespace reactphysics3d { diff --git a/src/body/RigidBody.h b/include/reactphysics3d/body/RigidBody.h similarity index 98% rename from src/body/RigidBody.h rename to include/reactphysics3d/body/RigidBody.h index 595aa3e1..4fb585c6 100644 --- a/src/body/RigidBody.h +++ b/include/reactphysics3d/body/RigidBody.h @@ -28,8 +28,8 @@ // Libraries #include -#include "CollisionBody.h" -#include "mathematics/mathematics.h" +#include +#include /// Namespace reactphysics3d namespace reactphysics3d { diff --git a/src/collision/Collider.h b/include/reactphysics3d/collision/Collider.h similarity index 97% rename from src/collision/Collider.h rename to include/reactphysics3d/collision/Collider.h index fd849800..041a3535 100644 --- a/src/collision/Collider.h +++ b/include/reactphysics3d/collision/Collider.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_COLLIDER_H // Libraries -#include "body/CollisionBody.h" -#include "collision/shapes/CollisionShape.h" -#include "engine/Material.h" -#include "utils/Logger.h" +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/collision/CollisionCallback.h b/include/reactphysics3d/collision/CollisionCallback.h similarity index 98% rename from src/collision/CollisionCallback.h rename to include/reactphysics3d/collision/CollisionCallback.h index 570a9a32..04c5dbc7 100644 --- a/src/collision/CollisionCallback.h +++ b/include/reactphysics3d/collision/CollisionCallback.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_COLLISION_CALLBACK_H // Libraries -#include "containers/List.h" -#include "collision/ContactPair.h" -#include "constraint/ContactPoint.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/ContactManifold.h b/include/reactphysics3d/collision/ContactManifold.h similarity index 99% rename from src/collision/ContactManifold.h rename to include/reactphysics3d/collision/ContactManifold.h index 600993f3..1ec1c396 100644 --- a/src/collision/ContactManifold.h +++ b/include/reactphysics3d/collision/ContactManifold.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_CONTACT_MANIFOLD_H // Libraries -#include "collision/Collider.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/ContactManifoldInfo.h b/include/reactphysics3d/collision/ContactManifoldInfo.h similarity index 95% rename from src/collision/ContactManifoldInfo.h rename to include/reactphysics3d/collision/ContactManifoldInfo.h index 8d08ce26..d60af3a9 100644 --- a/src/collision/ContactManifoldInfo.h +++ b/include/reactphysics3d/collision/ContactManifoldInfo.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONTACT_MANIFOLD_INFO_H // Libraries -#include "mathematics/mathematics.h" -#include "configuration.h" -#include "engine/OverlappingPairs.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/ContactPair.h b/include/reactphysics3d/collision/ContactPair.h similarity index 96% rename from src/collision/ContactPair.h rename to include/reactphysics3d/collision/ContactPair.h index 424e000a..518c29de 100644 --- a/src/collision/ContactPair.h +++ b/include/reactphysics3d/collision/ContactPair.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_OVERLAPPING_PAIR_CONTACT_H // Libraries -#include "mathematics/mathematics.h" -#include "configuration.h" -#include "engine/OverlappingPairs.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/ContactPointInfo.h b/include/reactphysics3d/collision/ContactPointInfo.h similarity index 97% rename from src/collision/ContactPointInfo.h rename to include/reactphysics3d/collision/ContactPointInfo.h index d10d6279..adfff315 100644 --- a/src/collision/ContactPointInfo.h +++ b/include/reactphysics3d/collision/ContactPointInfo.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_CONTACT_POINT_INFO_H // Libraries -#include "mathematics/mathematics.h" -#include "configuration.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/HalfEdgeStructure.h b/include/reactphysics3d/collision/HalfEdgeStructure.h similarity index 99% rename from src/collision/HalfEdgeStructure.h rename to include/reactphysics3d/collision/HalfEdgeStructure.h index 9eeee208..9f7e679b 100644 --- a/src/collision/HalfEdgeStructure.h +++ b/include/reactphysics3d/collision/HalfEdgeStructure.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_HALF_EDGE_STRUCTURE_MESH_H // Libraries -#include "mathematics/mathematics.h" +#include namespace reactphysics3d { diff --git a/src/collision/OverlapCallback.h b/include/reactphysics3d/collision/OverlapCallback.h similarity index 99% rename from src/collision/OverlapCallback.h rename to include/reactphysics3d/collision/OverlapCallback.h index 7fa9fab4..7b54dd27 100644 --- a/src/collision/OverlapCallback.h +++ b/include/reactphysics3d/collision/OverlapCallback.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_OVERLAP_CALLBACK_H // Libraries -#include "containers/List.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/PolygonVertexArray.h b/include/reactphysics3d/collision/PolygonVertexArray.h similarity index 99% rename from src/collision/PolygonVertexArray.h rename to include/reactphysics3d/collision/PolygonVertexArray.h index b3fb17f6..3f6e515b 100644 --- a/src/collision/PolygonVertexArray.h +++ b/include/reactphysics3d/collision/PolygonVertexArray.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_POLYGON_VERTEX_ARRAY_H // Libraries -#include "configuration.h" +#include #include namespace reactphysics3d { diff --git a/src/collision/PolyhedronMesh.h b/include/reactphysics3d/collision/PolyhedronMesh.h similarity index 99% rename from src/collision/PolyhedronMesh.h rename to include/reactphysics3d/collision/PolyhedronMesh.h index 4b3696f4..c6e62070 100644 --- a/src/collision/PolyhedronMesh.h +++ b/include/reactphysics3d/collision/PolyhedronMesh.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_POLYHEDRON_MESH_H // Libraries -#include "mathematics/mathematics.h" +#include #include "HalfEdgeStructure.h" namespace reactphysics3d { diff --git a/src/collision/RaycastInfo.h b/include/reactphysics3d/collision/RaycastInfo.h similarity index 99% rename from src/collision/RaycastInfo.h rename to include/reactphysics3d/collision/RaycastInfo.h index 846b2f04..3f020f43 100644 --- a/src/collision/RaycastInfo.h +++ b/include/reactphysics3d/collision/RaycastInfo.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_RAYCAST_INFO_H // Libraries -#include "mathematics/Vector3.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/TriangleMesh.h b/include/reactphysics3d/collision/TriangleMesh.h similarity index 97% rename from src/collision/TriangleMesh.h rename to include/reactphysics3d/collision/TriangleMesh.h index f70a7aae..09b84c40 100644 --- a/src/collision/TriangleMesh.h +++ b/include/reactphysics3d/collision/TriangleMesh.h @@ -28,8 +28,8 @@ // Libraries #include -#include "containers/List.h" -#include "memory/MemoryAllocator.h" +#include +#include namespace reactphysics3d { diff --git a/src/collision/TriangleVertexArray.h b/include/reactphysics3d/collision/TriangleVertexArray.h similarity index 99% rename from src/collision/TriangleVertexArray.h rename to include/reactphysics3d/collision/TriangleVertexArray.h index 9902af32..cf9482dc 100644 --- a/src/collision/TriangleVertexArray.h +++ b/include/reactphysics3d/collision/TriangleVertexArray.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_TRIANGLE_VERTEX_ARRAY_H // Libraries -#include "configuration.h" +#include namespace reactphysics3d { diff --git a/src/collision/broadphase/DynamicAABBTree.h b/include/reactphysics3d/collision/broadphase/DynamicAABBTree.h similarity index 98% rename from src/collision/broadphase/DynamicAABBTree.h rename to include/reactphysics3d/collision/broadphase/DynamicAABBTree.h index 84dc25cc..535b2819 100644 --- a/src/collision/broadphase/DynamicAABBTree.h +++ b/include/reactphysics3d/collision/broadphase/DynamicAABBTree.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_DYNAMIC_AABB_TREE_H // Libraries -#include "configuration.h" -#include "collision/shapes/AABB.h" -#include "containers/Set.h" +#include +#include +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h b/include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h similarity index 94% rename from src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h index 82f42094..7ad58b44 100644 --- a/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_CAPSULE_VS_CAPSULE_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" -#include "configuration.h" +#include +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h b/include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h similarity index 98% rename from src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h rename to include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h index 8741d41a..8d628e37 100644 --- a/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h +++ b/include/reactphysics3d/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_CAPSULE_VS_CAPSULE_NARROW_PHASE_INFO_BATCH_H // Libraries -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h b/include/reactphysics3d/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h similarity index 98% rename from src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h index d95cd620..cce8396f 100644 --- a/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_CAPSULE_VS_CONVEX_POLYHEDRON_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/CollisionDispatch.h b/include/reactphysics3d/collision/narrowphase/CollisionDispatch.h similarity index 94% rename from src/collision/narrowphase/CollisionDispatch.h rename to include/reactphysics3d/collision/narrowphase/CollisionDispatch.h index d8b87f1c..692c9e1f 100644 --- a/src/collision/narrowphase/CollisionDispatch.h +++ b/include/reactphysics3d/collision/narrowphase/CollisionDispatch.h @@ -27,14 +27,13 @@ #define REACTPHYSICS3D_COLLISION_DISPATCH_H // Libraries -#include "CollisionDispatch.h" -#include "SphereVsSphereAlgorithm.h" -#include "SphereVsConvexPolyhedronAlgorithm.h" -#include "SphereVsCapsuleAlgorithm.h" -#include "CapsuleVsCapsuleAlgorithm.h" -#include "CapsuleVsConvexPolyhedronAlgorithm.h" -#include "ConvexPolyhedronVsConvexPolyhedronAlgorithm.h" -#include "collision/shapes/CollisionShape.h" +#include +#include +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h b/include/reactphysics3d/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h similarity index 98% rename from src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h index 306b9728..9b7393e3 100644 --- a/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_CONVEX_POLYHEDRON_VS_CONVEX_POLYHEDRON_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/GJK/GJKAlgorithm.h b/include/reactphysics3d/collision/narrowphase/GJK/GJKAlgorithm.h similarity index 98% rename from src/collision/narrowphase/GJK/GJKAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/GJK/GJKAlgorithm.h index 4cfce43f..bd7f72b5 100644 --- a/src/collision/narrowphase/GJK/GJKAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/GJK/GJKAlgorithm.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_GJK_ALGORITHM_H // Libraries -#include "decimal.h" -#include "configuration.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/narrowphase/GJK/VoronoiSimplex.h b/include/reactphysics3d/collision/narrowphase/GJK/VoronoiSimplex.h similarity index 99% rename from src/collision/narrowphase/GJK/VoronoiSimplex.h rename to include/reactphysics3d/collision/narrowphase/GJK/VoronoiSimplex.h index 5bd51f57..597aa3fe 100644 --- a/src/collision/narrowphase/GJK/VoronoiSimplex.h +++ b/include/reactphysics3d/collision/narrowphase/GJK/VoronoiSimplex.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_VORONOI_SIMPLEX_H // Libraries -#include "mathematics/Vector3.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/narrowphase/NarrowPhaseAlgorithm.h b/include/reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h similarity index 98% rename from src/collision/narrowphase/NarrowPhaseAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h index caa33179..82ce4b90 100644 --- a/src/collision/narrowphase/NarrowPhaseAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_NARROW_PHASE_ALGORITHM_H // Libraries -#include "configuration.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/NarrowPhaseInfoBatch.h b/include/reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h similarity index 99% rename from src/collision/narrowphase/NarrowPhaseInfoBatch.h rename to include/reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h index 3593e347..1e0ac81f 100644 --- a/src/collision/narrowphase/NarrowPhaseInfoBatch.h +++ b/include/reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_NARROW_PHASE_INFO_BATCH_H // Libraries -#include "engine/OverlappingPairs.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/NarrowPhaseInput.h b/include/reactphysics3d/collision/narrowphase/NarrowPhaseInput.h similarity index 93% rename from src/collision/narrowphase/NarrowPhaseInput.h rename to include/reactphysics3d/collision/narrowphase/NarrowPhaseInput.h index bc0f1c1e..6d2bb759 100644 --- a/src/collision/narrowphase/NarrowPhaseInput.h +++ b/include/reactphysics3d/collision/narrowphase/NarrowPhaseInput.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_NARROW_PHASE_INPUT_H // Libraries -#include "containers/List.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" -#include "collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h" -#include "collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h" -#include "collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h" +#include +#include +#include +#include +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/SAT/SATAlgorithm.h b/include/reactphysics3d/collision/narrowphase/SAT/SATAlgorithm.h similarity index 99% rename from src/collision/narrowphase/SAT/SATAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/SAT/SATAlgorithm.h index bb302d2a..ec5a5751 100644 --- a/src/collision/narrowphase/SAT/SATAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/SAT/SATAlgorithm.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_SAT_ALGORITHM_H // Libraries -#include "decimal.h" -#include "collision/HalfEdgeStructure.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/narrowphase/SphereVsCapsuleAlgorithm.h b/include/reactphysics3d/collision/narrowphase/SphereVsCapsuleAlgorithm.h similarity index 96% rename from src/collision/narrowphase/SphereVsCapsuleAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/SphereVsCapsuleAlgorithm.h index f2dc5ad7..dbecf770 100644 --- a/src/collision/narrowphase/SphereVsCapsuleAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/SphereVsCapsuleAlgorithm.h @@ -27,8 +27,7 @@ #define REACTPHYSICS3D_SPHERE_VS_CAPSULE_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" - +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h b/include/reactphysics3d/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h similarity index 98% rename from src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h rename to include/reactphysics3d/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h index 13346f3e..7781af01 100644 --- a/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h +++ b/include/reactphysics3d/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_SPHERE_VS_CAPSULE_NARROW_PHASE_INFO_BATCH_H // Libraries -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h b/include/reactphysics3d/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h similarity index 98% rename from src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h index 5a7d9f7b..5143d1ff 100644 --- a/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_SPHERE_VS_CONVEX_POLYHEDRON_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/SphereVsSphereAlgorithm.h b/include/reactphysics3d/collision/narrowphase/SphereVsSphereAlgorithm.h similarity index 95% rename from src/collision/narrowphase/SphereVsSphereAlgorithm.h rename to include/reactphysics3d/collision/narrowphase/SphereVsSphereAlgorithm.h index 87831a4b..7171c3cb 100644 --- a/src/collision/narrowphase/SphereVsSphereAlgorithm.h +++ b/include/reactphysics3d/collision/narrowphase/SphereVsSphereAlgorithm.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_SPHERE_VS_SPHERE_ALGORITHM_H // Libraries -#include "NarrowPhaseAlgorithm.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h b/include/reactphysics3d/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h similarity index 98% rename from src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h rename to include/reactphysics3d/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h index 84bcfe72..25fa4773 100644 --- a/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h +++ b/include/reactphysics3d/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_SPHERE_VS_SPHERE_NARROW_PHASE_INFO_BATCH_H // Libraries -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/collision/shapes/AABB.h b/include/reactphysics3d/collision/shapes/AABB.h similarity index 99% rename from src/collision/shapes/AABB.h rename to include/reactphysics3d/collision/shapes/AABB.h index 5a7b4740..c0598cc9 100644 --- a/src/collision/shapes/AABB.h +++ b/include/reactphysics3d/collision/shapes/AABB.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_AABB_H // Libraries -#include "mathematics/mathematics.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/BoxShape.h b/include/reactphysics3d/collision/shapes/BoxShape.h similarity index 98% rename from src/collision/shapes/BoxShape.h rename to include/reactphysics3d/collision/shapes/BoxShape.h index 4cb9ab12..ced455f9 100644 --- a/src/collision/shapes/BoxShape.h +++ b/include/reactphysics3d/collision/shapes/BoxShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_BOX_SHAPE_H // Libraries -#include "ConvexPolyhedronShape.h" -#include "mathematics/mathematics.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/CapsuleShape.h b/include/reactphysics3d/collision/shapes/CapsuleShape.h similarity index 98% rename from src/collision/shapes/CapsuleShape.h rename to include/reactphysics3d/collision/shapes/CapsuleShape.h index 3778f407..0aaf3b99 100644 --- a/src/collision/shapes/CapsuleShape.h +++ b/include/reactphysics3d/collision/shapes/CapsuleShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_CAPSULE_SHAPE_H // Libraries -#include "ConvexShape.h" -#include "mathematics/mathematics.h" +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/CollisionShape.h b/include/reactphysics3d/collision/shapes/CollisionShape.h similarity index 98% rename from src/collision/shapes/CollisionShape.h rename to include/reactphysics3d/collision/shapes/CollisionShape.h index 92315411..90b25b1d 100644 --- a/src/collision/shapes/CollisionShape.h +++ b/include/reactphysics3d/collision/shapes/CollisionShape.h @@ -28,9 +28,9 @@ // Libraries #include -#include "configuration.h" -#include "utils/Profiler.h" -#include "containers/List.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/ConcaveMeshShape.h b/include/reactphysics3d/collision/shapes/ConcaveMeshShape.h similarity index 98% rename from src/collision/shapes/ConcaveMeshShape.h rename to include/reactphysics3d/collision/shapes/ConcaveMeshShape.h index 67fa3187..32832547 100644 --- a/src/collision/shapes/ConcaveMeshShape.h +++ b/include/reactphysics3d/collision/shapes/ConcaveMeshShape.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONCAVE_MESH_SHAPE_H // Libraries -#include "ConcaveShape.h" -#include "collision/broadphase/DynamicAABBTree.h" -#include "containers/List.h" +#include +#include +#include namespace reactphysics3d { diff --git a/src/collision/shapes/ConcaveShape.h b/include/reactphysics3d/collision/shapes/ConcaveShape.h similarity index 98% rename from src/collision/shapes/ConcaveShape.h rename to include/reactphysics3d/collision/shapes/ConcaveShape.h index 5b5c9cdf..6cc85efe 100644 --- a/src/collision/shapes/ConcaveShape.h +++ b/include/reactphysics3d/collision/shapes/ConcaveShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_CONCAVE_SHAPE_H // Libraries -#include "CollisionShape.h" -#include "TriangleShape.h" +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/ConvexMeshShape.h b/include/reactphysics3d/collision/shapes/ConvexMeshShape.h similarity index 98% rename from src/collision/shapes/ConvexMeshShape.h rename to include/reactphysics3d/collision/shapes/ConvexMeshShape.h index f94cafb3..cb266ddd 100644 --- a/src/collision/shapes/ConvexMeshShape.h +++ b/include/reactphysics3d/collision/shapes/ConvexMeshShape.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONVEX_MESH_SHAPE_H // Libraries -#include "ConvexPolyhedronShape.h" -#include "mathematics/mathematics.h" -#include "collision/PolyhedronMesh.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/ConvexPolyhedronShape.h b/include/reactphysics3d/collision/shapes/ConvexPolyhedronShape.h similarity index 97% rename from src/collision/shapes/ConvexPolyhedronShape.h rename to include/reactphysics3d/collision/shapes/ConvexPolyhedronShape.h index 2bd41437..30d1785c 100644 --- a/src/collision/shapes/ConvexPolyhedronShape.h +++ b/include/reactphysics3d/collision/shapes/ConvexPolyhedronShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_CONVEX_POLYHEDRON_H // Libraries -#include "ConvexShape.h" -#include "collision/HalfEdgeStructure.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/ConvexShape.h b/include/reactphysics3d/collision/shapes/ConvexShape.h similarity index 98% rename from src/collision/shapes/ConvexShape.h rename to include/reactphysics3d/collision/shapes/ConvexShape.h index 49266389..d0d64b3e 100644 --- a/src/collision/shapes/ConvexShape.h +++ b/include/reactphysics3d/collision/shapes/ConvexShape.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_CONVEX_SHAPE_H // Libraries -#include "CollisionShape.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/HeightFieldShape.h b/include/reactphysics3d/collision/shapes/HeightFieldShape.h similarity index 98% rename from src/collision/shapes/HeightFieldShape.h rename to include/reactphysics3d/collision/shapes/HeightFieldShape.h index d446e996..fa639f46 100644 --- a/src/collision/shapes/HeightFieldShape.h +++ b/include/reactphysics3d/collision/shapes/HeightFieldShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_HEIGHTFIELD_SHAPE_H // Libraries -#include "ConcaveShape.h" -#include "collision/shapes/AABB.h" +#include +#include namespace reactphysics3d { diff --git a/src/collision/shapes/SphereShape.h b/include/reactphysics3d/collision/shapes/SphereShape.h similarity index 98% rename from src/collision/shapes/SphereShape.h rename to include/reactphysics3d/collision/shapes/SphereShape.h index 9719daa6..f4d27296 100644 --- a/src/collision/shapes/SphereShape.h +++ b/include/reactphysics3d/collision/shapes/SphereShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_SPHERE_SHAPE_H // Libraries -#include "ConvexShape.h" -#include "mathematics/mathematics.h" +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/collision/shapes/TriangleShape.h b/include/reactphysics3d/collision/shapes/TriangleShape.h similarity index 99% rename from src/collision/shapes/TriangleShape.h rename to include/reactphysics3d/collision/shapes/TriangleShape.h index 9c8ae62f..90ccc382 100644 --- a/src/collision/shapes/TriangleShape.h +++ b/include/reactphysics3d/collision/shapes/TriangleShape.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_TRIANGLE_SHAPE_H // Libraries -#include "mathematics/mathematics.h" -#include "ConvexPolyhedronShape.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/BallAndSocketJointComponents.h b/include/reactphysics3d/components/BallAndSocketJointComponents.h similarity index 98% rename from src/components/BallAndSocketJointComponents.h rename to include/reactphysics3d/components/BallAndSocketJointComponents.h index 3af8e569..d849e339 100644 --- a/src/components/BallAndSocketJointComponents.h +++ b/include/reactphysics3d/components/BallAndSocketJointComponents.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_BALL_AND_SOCKET_JOINT_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/ColliderComponents.h b/include/reactphysics3d/components/ColliderComponents.h similarity index 98% rename from src/components/ColliderComponents.h rename to include/reactphysics3d/components/ColliderComponents.h index e96d72c1..16e51604 100644 --- a/src/components/ColliderComponents.h +++ b/include/reactphysics3d/components/ColliderComponents.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_COLLIDERS_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "engine/Entity.h" -#include "containers/Map.h" -#include "collision/shapes/AABB.h" -#include "components/Components.h" +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/CollisionBodyComponents.h b/include/reactphysics3d/components/CollisionBodyComponents.h similarity index 97% rename from src/components/CollisionBodyComponents.h rename to include/reactphysics3d/components/CollisionBodyComponents.h index b3d9ad11..99c5a0ff 100644 --- a/src/components/CollisionBodyComponents.h +++ b/include/reactphysics3d/components/CollisionBodyComponents.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_COLLISION_BODY_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/Components.h b/include/reactphysics3d/components/Components.h similarity index 97% rename from src/components/Components.h rename to include/reactphysics3d/components/Components.h index 3a950af7..4697990b 100644 --- a/src/components/Components.h +++ b/include/reactphysics3d/components/Components.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_COMPONENTS_H // Libraries -#include "configuration.h" -#include "engine/Entity.h" -#include "containers/Map.h" +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/FixedJointComponents.h b/include/reactphysics3d/components/FixedJointComponents.h similarity index 98% rename from src/components/FixedJointComponents.h rename to include/reactphysics3d/components/FixedJointComponents.h index a6c10a69..41d5146a 100644 --- a/src/components/FixedJointComponents.h +++ b/include/reactphysics3d/components/FixedJointComponents.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_FIXED_JOINT_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/HingeJointComponents.h b/include/reactphysics3d/components/HingeJointComponents.h similarity index 99% rename from src/components/HingeJointComponents.h rename to include/reactphysics3d/components/HingeJointComponents.h index 6e0bba85..c7beb995 100644 --- a/src/components/HingeJointComponents.h +++ b/include/reactphysics3d/components/HingeJointComponents.h @@ -27,12 +27,12 @@ #define REACTPHYSICS3D_HINGE_JOINT_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" -#include "mathematics/Matrix2x2.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/JointComponents.h b/include/reactphysics3d/components/JointComponents.h similarity index 98% rename from src/components/JointComponents.h rename to include/reactphysics3d/components/JointComponents.h index 6056bd07..002a925c 100644 --- a/src/components/JointComponents.h +++ b/include/reactphysics3d/components/JointComponents.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_JOINT_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/RigidBodyComponents.h b/include/reactphysics3d/components/RigidBodyComponents.h similarity index 99% rename from src/components/RigidBodyComponents.h rename to include/reactphysics3d/components/RigidBodyComponents.h index df22407d..826b706b 100644 --- a/src/components/RigidBodyComponents.h +++ b/include/reactphysics3d/components/RigidBodyComponents.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_RIGID_BODY_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/SliderJointComponents.h b/include/reactphysics3d/components/SliderJointComponents.h similarity index 99% rename from src/components/SliderJointComponents.h rename to include/reactphysics3d/components/SliderJointComponents.h index 5b30dffd..65d7c475 100644 --- a/src/components/SliderJointComponents.h +++ b/include/reactphysics3d/components/SliderJointComponents.h @@ -27,12 +27,12 @@ #define REACTPHYSICS3D_SLIDER_JOINT_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" -#include "mathematics/Matrix2x2.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/components/TransformComponents.h b/include/reactphysics3d/components/TransformComponents.h similarity index 96% rename from src/components/TransformComponents.h rename to include/reactphysics3d/components/TransformComponents.h index 5ca00332..8d01893c 100644 --- a/src/components/TransformComponents.h +++ b/include/reactphysics3d/components/TransformComponents.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_TRANSFORM_COMPONENTS_H // Libraries -#include "mathematics/Transform.h" -#include "engine/Entity.h" -#include "components/Components.h" -#include "containers/Map.h" +#include +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/configuration.h b/include/reactphysics3d/configuration.h similarity index 98% rename from src/configuration.h rename to include/reactphysics3d/configuration.h index 339c875e..f90c2b11 100644 --- a/src/configuration.h +++ b/include/reactphysics3d/configuration.h @@ -32,8 +32,8 @@ #include #include #include -#include "decimal.h" -#include "containers/Pair.h" +#include +#include // Windows platform #if defined(WIN32) ||defined(_WIN32) || defined(_WIN64) ||defined(__WIN32__) || defined(__WINDOWS__) diff --git a/src/constraint/BallAndSocketJoint.h b/include/reactphysics3d/constraint/BallAndSocketJoint.h similarity index 97% rename from src/constraint/BallAndSocketJoint.h rename to include/reactphysics3d/constraint/BallAndSocketJoint.h index 5d913301..7c863532 100644 --- a/src/constraint/BallAndSocketJoint.h +++ b/include/reactphysics3d/constraint/BallAndSocketJoint.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_BALL_AND_SOCKET_JOINT_H // Libraries -#include "Joint.h" -#include "mathematics/mathematics.h" +#include +#include namespace reactphysics3d { diff --git a/src/constraint/ContactPoint.h b/include/reactphysics3d/constraint/ContactPoint.h similarity index 98% rename from src/constraint/ContactPoint.h rename to include/reactphysics3d/constraint/ContactPoint.h index cf01ade0..149c2b5b 100644 --- a/src/constraint/ContactPoint.h +++ b/include/reactphysics3d/constraint/ContactPoint.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONTACT_POINT_H // Libraries -#include "configuration.h" -#include "mathematics/mathematics.h" -#include "collision/ContactPointInfo.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/constraint/FixedJoint.h b/include/reactphysics3d/constraint/FixedJoint.h similarity index 97% rename from src/constraint/FixedJoint.h rename to include/reactphysics3d/constraint/FixedJoint.h index b030a805..1909f2f0 100644 --- a/src/constraint/FixedJoint.h +++ b/include/reactphysics3d/constraint/FixedJoint.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_FIXED_JOINT_H // Libraries -#include "Joint.h" -#include "mathematics/mathematics.h" +#include +#include namespace reactphysics3d { diff --git a/src/constraint/HingeJoint.h b/include/reactphysics3d/constraint/HingeJoint.h similarity index 99% rename from src/constraint/HingeJoint.h rename to include/reactphysics3d/constraint/HingeJoint.h index 19f104fb..24c0df21 100644 --- a/src/constraint/HingeJoint.h +++ b/include/reactphysics3d/constraint/HingeJoint.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_HINGE_JOINT_H // Libraries -#include "Joint.h" -#include "mathematics/mathematics.h" +#include +#include namespace reactphysics3d { diff --git a/src/constraint/Joint.h b/include/reactphysics3d/constraint/Joint.h similarity index 97% rename from src/constraint/Joint.h rename to include/reactphysics3d/constraint/Joint.h index 4a73c01e..a2e8cc1d 100644 --- a/src/constraint/Joint.h +++ b/include/reactphysics3d/constraint/Joint.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONSTRAINT_H // Libraries -#include "configuration.h" -#include "body/RigidBody.h" -#include "mathematics/mathematics.h" +#include +#include +#include // ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/constraint/SliderJoint.h b/include/reactphysics3d/constraint/SliderJoint.h similarity index 98% rename from src/constraint/SliderJoint.h rename to include/reactphysics3d/constraint/SliderJoint.h index fae831f4..015a05dc 100644 --- a/src/constraint/SliderJoint.h +++ b/include/reactphysics3d/constraint/SliderJoint.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_SLIDER_JOINT_H // Libraries -#include "mathematics/mathematics.h" -#include "body/RigidBody.h" -#include "Joint.h" +#include +#include +#include namespace reactphysics3d { diff --git a/src/containers/Deque.h b/include/reactphysics3d/containers/Deque.h similarity index 99% rename from src/containers/Deque.h rename to include/reactphysics3d/containers/Deque.h index 7c4f47d6..ca037308 100644 --- a/src/containers/Deque.h +++ b/include/reactphysics3d/containers/Deque.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_DEQUE_H // Libraries -#include "configuration.h" -#include "memory/MemoryAllocator.h" +#include +#include #include #include #include diff --git a/src/containers/LinkedList.h b/include/reactphysics3d/containers/LinkedList.h similarity index 98% rename from src/containers/LinkedList.h rename to include/reactphysics3d/containers/LinkedList.h index 71eb48a8..6efe3377 100644 --- a/src/containers/LinkedList.h +++ b/include/reactphysics3d/containers/LinkedList.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_LINKED_LIST_H // Libraries -#include "memory/MemoryAllocator.h" +#include namespace reactphysics3d { diff --git a/src/containers/List.h b/include/reactphysics3d/containers/List.h similarity index 99% rename from src/containers/List.h rename to include/reactphysics3d/containers/List.h index 079fd12c..0aa12b6a 100755 --- a/src/containers/List.h +++ b/include/reactphysics3d/containers/List.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_LIST_H // Libraries -#include "configuration.h" -#include "memory/MemoryAllocator.h" +#include +#include #include #include #include diff --git a/src/containers/Map.h b/include/reactphysics3d/containers/Map.h similarity index 99% rename from src/containers/Map.h rename to include/reactphysics3d/containers/Map.h index 44b435ad..22e92536 100755 --- a/src/containers/Map.h +++ b/include/reactphysics3d/containers/Map.h @@ -27,15 +27,14 @@ #define REACTPHYSICS3D_MAP_H // Libraries -#include "memory/MemoryAllocator.h" -#include "mathematics/mathematics_functions.h" -#include "containers/Pair.h" +#include +#include +#include #include #include #include #include - namespace reactphysics3d { // Class Map diff --git a/src/containers/Pair.h b/include/reactphysics3d/containers/Pair.h similarity index 96% rename from src/containers/Pair.h rename to include/reactphysics3d/containers/Pair.h index cb093a05..12f231fe 100644 --- a/src/containers/Pair.h +++ b/include/reactphysics3d/containers/Pair.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_PAIR_H // Libraries -#include "configuration.h" -#include "memory/MemoryAllocator.h" -#include "containers/containers_common.h" +#include +#include +#include #include #include diff --git a/src/containers/Set.h b/include/reactphysics3d/containers/Set.h similarity index 99% rename from src/containers/Set.h rename to include/reactphysics3d/containers/Set.h index bdedc484..88d1b70d 100755 --- a/src/containers/Set.h +++ b/include/reactphysics3d/containers/Set.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_SET_H // Libraries -#include "memory/MemoryAllocator.h" -#include "mathematics/mathematics_functions.h" +#include +#include #include #include #include diff --git a/src/containers/Stack.h b/include/reactphysics3d/containers/Stack.h similarity index 98% rename from src/containers/Stack.h rename to include/reactphysics3d/containers/Stack.h index c3aaf283..01d46b02 100644 --- a/src/containers/Stack.h +++ b/include/reactphysics3d/containers/Stack.h @@ -28,8 +28,8 @@ // Libraries #include -#include "configuration.h" -#include "memory/MemoryAllocator.h" +#include +#include namespace reactphysics3d { diff --git a/src/containers/containers_common.h b/include/reactphysics3d/containers/containers_common.h similarity index 100% rename from src/containers/containers_common.h rename to include/reactphysics3d/containers/containers_common.h diff --git a/src/decimal.h b/include/reactphysics3d/decimal.h similarity index 100% rename from src/decimal.h rename to include/reactphysics3d/decimal.h diff --git a/src/engine/Entity.h b/include/reactphysics3d/engine/Entity.h similarity index 99% rename from src/engine/Entity.h rename to include/reactphysics3d/engine/Entity.h index 7d82925b..d37b9631 100644 --- a/src/engine/Entity.h +++ b/include/reactphysics3d/engine/Entity.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_ENTITY_H // Libraries -#include "configuration.h" +#include /// Namespace reactphysics3d namespace reactphysics3d { diff --git a/src/engine/EntityManager.h b/include/reactphysics3d/engine/EntityManager.h similarity index 94% rename from src/engine/EntityManager.h rename to include/reactphysics3d/engine/EntityManager.h index 9c1bacc3..be87a13f 100644 --- a/src/engine/EntityManager.h +++ b/include/reactphysics3d/engine/EntityManager.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_ENTITY_MANAGER_H // Libraries -#include "configuration.h" -#include "containers/List.h" -#include "containers/Deque.h" -#include "engine/Entity.h" +#include +#include +#include +#include /// Namespace reactphysics3d namespace reactphysics3d { diff --git a/src/engine/EventListener.h b/include/reactphysics3d/engine/EventListener.h similarity index 98% rename from src/engine/EventListener.h rename to include/reactphysics3d/engine/EventListener.h index 97a9f6ec..0db10123 100644 --- a/src/engine/EventListener.h +++ b/include/reactphysics3d/engine/EventListener.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_EVENT_LISTENER_H // Libraries -#include "collision/CollisionCallback.h" +#include namespace reactphysics3d { diff --git a/src/engine/Island.h b/include/reactphysics3d/engine/Island.h similarity index 99% rename from src/engine/Island.h rename to include/reactphysics3d/engine/Island.h index 9d8da4c4..94ed1fda 100644 --- a/src/engine/Island.h +++ b/include/reactphysics3d/engine/Island.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_ISLAND_H // Libraries -#include "constraint/Joint.h" +#include namespace reactphysics3d { diff --git a/src/engine/Islands.h b/include/reactphysics3d/engine/Islands.h similarity index 96% rename from src/engine/Islands.h rename to include/reactphysics3d/engine/Islands.h index 26011fa3..0ba50e2b 100644 --- a/src/engine/Islands.h +++ b/include/reactphysics3d/engine/Islands.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_ISLANDS_H // Libraries -#include "configuration.h" -#include "containers/List.h" -#include "engine/Entity.h" -#include "constraint/Joint.h" +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/engine/Material.h b/include/reactphysics3d/engine/Material.h similarity index 99% rename from src/engine/Material.h rename to include/reactphysics3d/engine/Material.h index 342beec4..96122132 100644 --- a/src/engine/Material.h +++ b/include/reactphysics3d/engine/Material.h @@ -28,7 +28,7 @@ // Libraries #include -#include "configuration.h" +#include namespace reactphysics3d { diff --git a/src/engine/OverlappingPairs.h b/include/reactphysics3d/engine/OverlappingPairs.h similarity index 96% rename from src/engine/OverlappingPairs.h rename to include/reactphysics3d/engine/OverlappingPairs.h index 80948c13..676ccc22 100644 --- a/src/engine/OverlappingPairs.h +++ b/include/reactphysics3d/engine/OverlappingPairs.h @@ -27,15 +27,15 @@ #define REACTPHYSICS3D_OVERLAPPING_PAIR_H // Libraries -#include "collision/Collider.h" -#include "containers/Map.h" -#include "containers/Pair.h" -#include "containers/Set.h" -#include "containers/containers_common.h" -#include "utils/Profiler.h" -#include "components/ColliderComponents.h" -#include "components/CollisionBodyComponents.h" -#include "components/RigidBodyComponents.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include /// ReactPhysics3D namespace diff --git a/src/engine/PhysicsCommon.h b/include/reactphysics3d/engine/PhysicsCommon.h similarity index 93% rename from src/engine/PhysicsCommon.h rename to include/reactphysics3d/engine/PhysicsCommon.h index a983ec86..2564a289 100644 --- a/src/engine/PhysicsCommon.h +++ b/include/reactphysics3d/engine/PhysicsCommon.h @@ -27,15 +27,15 @@ #define REACTPHYSICS3D_PHYSICS_COMMON_H // Libraries -#include "memory/MemoryManager.h" -#include "engine/PhysicsWorld.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/BoxShape.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/HeightFieldShape.h" -#include "collision/shapes/ConvexMeshShape.h" -#include "collision/shapes/ConcaveMeshShape.h" -#include "collision/TriangleMesh.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/engine/PhysicsWorld.h b/include/reactphysics3d/engine/PhysicsWorld.h similarity index 96% rename from src/engine/PhysicsWorld.h rename to include/reactphysics3d/engine/PhysicsWorld.h index 30b800e1..e6092c28 100644 --- a/src/engine/PhysicsWorld.h +++ b/include/reactphysics3d/engine/PhysicsWorld.h @@ -27,29 +27,29 @@ #define REACTPHYSICS3D_PHYSICS_WORLD_H // Libraries -#include "mathematics/mathematics.h" -#include "containers/List.h" -#include "constraint/Joint.h" -#include "memory/MemoryManager.h" -#include "engine/EntityManager.h" -#include "components/CollisionBodyComponents.h" -#include "components/RigidBodyComponents.h" -#include "components/TransformComponents.h" -#include "components/ColliderComponents.h" -#include "components/JointComponents.h" -#include "components/BallAndSocketJointComponents.h" -#include "components/FixedJointComponents.h" -#include "components/HingeJointComponents.h" -#include "components/SliderJointComponents.h" -#include "collision/CollisionCallback.h" -#include "collision/OverlapCallback.h" -#include "configuration.h" -#include "utils/Logger.h" -#include "systems/ConstraintSolverSystem.h" -#include "systems/CollisionDetectionSystem.h" -#include "systems/ContactSolverSystem.h" -#include "systems/DynamicsSystem.h" -#include "engine/Islands.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include /// Namespace ReactPhysics3D diff --git a/src/engine/Timer.h b/include/reactphysics3d/engine/Timer.h similarity index 99% rename from src/engine/Timer.h rename to include/reactphysics3d/engine/Timer.h index e1fd2a3c..a7e4ed52 100644 --- a/src/engine/Timer.h +++ b/include/reactphysics3d/engine/Timer.h @@ -29,7 +29,7 @@ // Libraries #include #include -#include "configuration.h" +#include #if defined(WINDOWS_OS) // For Windows platform #define NOMINMAX // This is used to avoid definition of max() and min() macros diff --git a/src/mathematics/Matrix2x2.h b/include/reactphysics3d/mathematics/Matrix2x2.h similarity index 99% rename from src/mathematics/Matrix2x2.h rename to include/reactphysics3d/mathematics/Matrix2x2.h index 58063766..35a44357 100644 --- a/src/mathematics/Matrix2x2.h +++ b/include/reactphysics3d/mathematics/Matrix2x2.h @@ -28,7 +28,7 @@ // Libraries #include -#include "Vector2.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Matrix3x3.h b/include/reactphysics3d/mathematics/Matrix3x3.h similarity index 99% rename from src/mathematics/Matrix3x3.h rename to include/reactphysics3d/mathematics/Matrix3x3.h index f56ddd4b..f779f825 100644 --- a/src/mathematics/Matrix3x3.h +++ b/include/reactphysics3d/mathematics/Matrix3x3.h @@ -29,7 +29,7 @@ // Libraries #include -#include "Vector3.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Quaternion.h b/include/reactphysics3d/mathematics/Quaternion.h similarity index 99% rename from src/mathematics/Quaternion.h rename to include/reactphysics3d/mathematics/Quaternion.h index 3401f601..3d58ca29 100644 --- a/src/mathematics/Quaternion.h +++ b/include/reactphysics3d/mathematics/Quaternion.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_QUATERNION_H // Libraries -#include "decimal.h" -#include "Vector3.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Ray.h b/include/reactphysics3d/mathematics/Ray.h similarity index 98% rename from src/mathematics/Ray.h rename to include/reactphysics3d/mathematics/Ray.h index 287d4928..2dc05f83 100644 --- a/src/mathematics/Ray.h +++ b/include/reactphysics3d/mathematics/Ray.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_RAY_H // Libraries -#include "Vector3.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Transform.h b/include/reactphysics3d/mathematics/Transform.h similarity index 99% rename from src/mathematics/Transform.h rename to include/reactphysics3d/mathematics/Transform.h index 4ea670ec..8933f20b 100644 --- a/src/mathematics/Transform.h +++ b/include/reactphysics3d/mathematics/Transform.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_TRANSFORM_H // Libraries -#include "Vector3.h" -#include "Quaternion.h" +#include +#include // ReactPhysiscs3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Vector2.h b/include/reactphysics3d/mathematics/Vector2.h similarity index 99% rename from src/mathematics/Vector2.h rename to include/reactphysics3d/mathematics/Vector2.h index cefeb561..102d43c7 100644 --- a/src/mathematics/Vector2.h +++ b/include/reactphysics3d/mathematics/Vector2.h @@ -28,9 +28,8 @@ // Libraries #include -#include "mathematics_functions.h" -#include "decimal.h" - +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/Vector3.h b/include/reactphysics3d/mathematics/Vector3.h similarity index 99% rename from src/mathematics/Vector3.h rename to include/reactphysics3d/mathematics/Vector3.h index e0fd7ce3..722fca58 100644 --- a/src/mathematics/Vector3.h +++ b/include/reactphysics3d/mathematics/Vector3.h @@ -28,9 +28,8 @@ // Libraries #include -#include "mathematics_functions.h" -#include "decimal.h" - +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/mathematics/mathematics.h b/include/reactphysics3d/mathematics/mathematics.h similarity index 82% rename from src/mathematics/mathematics.h rename to include/reactphysics3d/mathematics/mathematics.h index c9a290fc..bfbf525e 100644 --- a/src/mathematics/mathematics.h +++ b/include/reactphysics3d/mathematics/mathematics.h @@ -27,15 +27,15 @@ #define REACTPHYSICS3D_MATHEMATICS_H // Libraries -#include "Matrix3x3.h" -#include "Matrix2x2.h" -#include "Quaternion.h" -#include "Vector3.h" -#include "Vector2.h" -#include "Transform.h" -#include "Ray.h" -#include "configuration.h" -#include "mathematics_functions.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/src/mathematics/mathematics_functions.h b/include/reactphysics3d/mathematics/mathematics_functions.h similarity index 96% rename from src/mathematics/mathematics_functions.h rename to include/reactphysics3d/mathematics/mathematics_functions.h index 94c623a7..30156d2e 100755 --- a/src/mathematics/mathematics_functions.h +++ b/include/reactphysics3d/mathematics/mathematics_functions.h @@ -27,12 +27,12 @@ #define REACTPHYSICS3D_MATHEMATICS_FUNCTIONS_H // Libraries -#include "configuration.h" -#include "decimal.h" +#include +#include #include #include #include -#include "containers/List.h" +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/memory/DefaultAllocator.h b/include/reactphysics3d/memory/DefaultAllocator.h similarity index 98% rename from src/memory/DefaultAllocator.h rename to include/reactphysics3d/memory/DefaultAllocator.h index 451770f7..c061961a 100644 --- a/src/memory/DefaultAllocator.h +++ b/include/reactphysics3d/memory/DefaultAllocator.h @@ -27,7 +27,7 @@ #define REACTPHYSICS3D_DEFAULT_ALLOCATOR_H // Libraries -#include "memory/MemoryAllocator.h" +#include #include #include diff --git a/src/memory/HeapAllocator.h b/include/reactphysics3d/memory/HeapAllocator.h similarity index 97% rename from src/memory/HeapAllocator.h rename to include/reactphysics3d/memory/HeapAllocator.h index 437fb3dd..64c192ab 100644 --- a/src/memory/HeapAllocator.h +++ b/include/reactphysics3d/memory/HeapAllocator.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_HEAP_ALLOCATOR_H // Libraries -#include "configuration.h" -#include "MemoryAllocator.h" +#include +#include #include -#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/memory/MemoryAllocator.h b/include/reactphysics3d/memory/MemoryAllocator.h similarity index 100% rename from src/memory/MemoryAllocator.h rename to include/reactphysics3d/memory/MemoryAllocator.h diff --git a/src/memory/MemoryManager.h b/include/reactphysics3d/memory/MemoryManager.h similarity index 96% rename from src/memory/MemoryManager.h rename to include/reactphysics3d/memory/MemoryManager.h index 838c0ca0..ba0783fa 100644 --- a/src/memory/MemoryManager.h +++ b/include/reactphysics3d/memory/MemoryManager.h @@ -27,10 +27,10 @@ #define REACTPHYSICS3D_MEMORY_MANAGER_H // Libraries -#include "memory/DefaultAllocator.h" -#include "memory/PoolAllocator.h" -#include "memory/HeapAllocator.h" -#include "memory/SingleFrameAllocator.h" +#include +#include +#include +#include /// Namespace ReactPhysics3D namespace reactphysics3d { diff --git a/src/memory/PoolAllocator.h b/include/reactphysics3d/memory/PoolAllocator.h similarity index 98% rename from src/memory/PoolAllocator.h rename to include/reactphysics3d/memory/PoolAllocator.h index cfeb2726..8b3f799f 100644 --- a/src/memory/PoolAllocator.h +++ b/include/reactphysics3d/memory/PoolAllocator.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_POOL_ALLOCATOR_H // Libraries -#include "configuration.h" -#include "MemoryAllocator.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/memory/SingleFrameAllocator.h b/include/reactphysics3d/memory/SingleFrameAllocator.h similarity index 97% rename from src/memory/SingleFrameAllocator.h rename to include/reactphysics3d/memory/SingleFrameAllocator.h index 7db915a2..cf4d5a49 100644 --- a/src/memory/SingleFrameAllocator.h +++ b/include/reactphysics3d/memory/SingleFrameAllocator.h @@ -27,8 +27,8 @@ #define REACTPHYSICS3D_SINGLE_FRAME_ALLOCATOR_H // Libraries -#include "MemoryAllocator.h" -#include "configuration.h" +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/reactphysics3d.h b/include/reactphysics3d/reactphysics3d.h similarity index 62% rename from src/reactphysics3d.h rename to include/reactphysics3d/reactphysics3d.h index b878ba7b..57e9f202 100644 --- a/src/reactphysics3d.h +++ b/include/reactphysics3d/reactphysics3d.h @@ -35,36 +35,36 @@ #define REACTPHYSICS3D_H // Libraries -#include "configuration.h" -#include "mathematics/mathematics.h" -#include "body/CollisionBody.h" -#include "body/RigidBody.h" -#include "engine/PhysicsCommon.h" -#include "engine/PhysicsWorld.h" -#include "engine/Material.h" -#include "engine/EventListener.h" -#include "collision/shapes/CollisionShape.h" -#include "collision/shapes/BoxShape.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/ConvexMeshShape.h" -#include "collision/shapes/ConcaveMeshShape.h" -#include "collision/shapes/HeightFieldShape.h" -#include "collision/PolyhedronMesh.h" -#include "collision/shapes/AABB.h" -#include "collision/Collider.h" -#include "collision/RaycastInfo.h" -#include "collision/TriangleMesh.h" -#include "collision/PolyhedronMesh.h" -#include "collision/TriangleVertexArray.h" -#include "collision/PolygonVertexArray.h" -#include "collision/CollisionCallback.h" -#include "collision/OverlapCallback.h" -#include "constraint/BallAndSocketJoint.h" -#include "constraint/SliderJoint.h" -#include "constraint/HingeJoint.h" -#include "constraint/FixedJoint.h" -#include "containers/List.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /// Alias to the ReactPhysics3D namespace namespace rp3d = reactphysics3d; diff --git a/src/systems/BroadPhaseSystem.h b/include/reactphysics3d/systems/BroadPhaseSystem.h similarity index 96% rename from src/systems/BroadPhaseSystem.h rename to include/reactphysics3d/systems/BroadPhaseSystem.h index f37efe56..ee29832b 100644 --- a/src/systems/BroadPhaseSystem.h +++ b/include/reactphysics3d/systems/BroadPhaseSystem.h @@ -27,12 +27,12 @@ #define REACTPHYSICS3D_BROAD_PHASE_ALGORITHM_H // Libraries -#include "collision/broadphase/DynamicAABBTree.h" -#include "containers/LinkedList.h" -#include "containers/Set.h" -#include "components/ColliderComponents.h" -#include "components/TransformComponents.h" -#include "components/RigidBodyComponents.h" +#include +#include +#include +#include +#include +#include #include /// Namespace ReactPhysics3D diff --git a/src/systems/CollisionDetectionSystem.h b/include/reactphysics3d/systems/CollisionDetectionSystem.h similarity index 95% rename from src/systems/CollisionDetectionSystem.h rename to include/reactphysics3d/systems/CollisionDetectionSystem.h index bb56d0d5..3a6e467c 100644 --- a/src/systems/CollisionDetectionSystem.h +++ b/include/reactphysics3d/systems/CollisionDetectionSystem.h @@ -27,22 +27,22 @@ #define REACTPHYSICS3D_COLLISION_DETECTION_SYSTEM_H // Libraries -#include "body/CollisionBody.h" -#include "systems/BroadPhaseSystem.h" -#include "collision/shapes/CollisionShape.h" -#include "collision/ContactPointInfo.h" -#include "constraint/ContactPoint.h" -#include "collision/ContactManifoldInfo.h" -#include "collision/ContactManifold.h" -#include "collision/ContactPair.h" -#include "engine/OverlappingPairs.h" -#include "engine/OverlappingPairs.h" -#include "collision/narrowphase/NarrowPhaseInput.h" -#include "collision/narrowphase/CollisionDispatch.h" -#include "containers/Map.h" -#include "containers/Set.h" -#include "components/ColliderComponents.h" -#include "components/TransformComponents.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/systems/ConstraintSolverSystem.h b/include/reactphysics3d/systems/ConstraintSolverSystem.h similarity index 96% rename from src/systems/ConstraintSolverSystem.h rename to include/reactphysics3d/systems/ConstraintSolverSystem.h index ff88f4fd..5460cac2 100644 --- a/src/systems/ConstraintSolverSystem.h +++ b/include/reactphysics3d/systems/ConstraintSolverSystem.h @@ -27,12 +27,12 @@ #define REACTPHYSICS3D_CONSTRAINT_SOLVER_SYSTEM_H // Libraries -#include "configuration.h" -#include "mathematics/mathematics.h" -#include "systems/SolveBallAndSocketJointSystem.h" -#include "systems/SolveFixedJointSystem.h" -#include "systems/SolveHingeJointSystem.h" -#include "systems/SolveSliderJointSystem.h" +#include +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/systems/ContactSolverSystem.h b/include/reactphysics3d/systems/ContactSolverSystem.h similarity index 99% rename from src/systems/ContactSolverSystem.h rename to include/reactphysics3d/systems/ContactSolverSystem.h index a056a4b2..b98c294b 100644 --- a/src/systems/ContactSolverSystem.h +++ b/include/reactphysics3d/systems/ContactSolverSystem.h @@ -27,9 +27,9 @@ #define REACTPHYSICS3D_CONTACT_SOLVER_SYSTEM_H // Libraries -#include "configuration.h" -#include "mathematics/Vector3.h" -#include "mathematics/Matrix3x3.h" +#include +#include +#include /// ReactPhysics3D namespace namespace reactphysics3d { diff --git a/src/systems/DynamicsSystem.h b/include/reactphysics3d/systems/DynamicsSystem.h similarity index 94% rename from src/systems/DynamicsSystem.h rename to include/reactphysics3d/systems/DynamicsSystem.h index fb3b35e6..4b52a45e 100644 --- a/src/systems/DynamicsSystem.h +++ b/include/reactphysics3d/systems/DynamicsSystem.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_DYNAMICS_SYSTEM_H // Libraries -#include "utils/Profiler.h" -#include "components/CollisionBodyComponents.h" -#include "components/RigidBodyComponents.h" -#include "components/TransformComponents.h" -#include "components/ColliderComponents.h" +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/systems/SolveBallAndSocketJointSystem.h b/include/reactphysics3d/systems/SolveBallAndSocketJointSystem.h similarity index 94% rename from src/systems/SolveBallAndSocketJointSystem.h rename to include/reactphysics3d/systems/SolveBallAndSocketJointSystem.h index 5655a850..2e18ba79 100644 --- a/src/systems/SolveBallAndSocketJointSystem.h +++ b/include/reactphysics3d/systems/SolveBallAndSocketJointSystem.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_SOLVE_BALL_SOCKET_JOINT_SYSTEM_H // Libraries -#include "utils/Profiler.h" -#include "components/RigidBodyComponents.h" -#include "components/JointComponents.h" -#include "components/BallAndSocketJointComponents.h" -#include "components/TransformComponents.h" +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/systems/SolveFixedJointSystem.h b/include/reactphysics3d/systems/SolveFixedJointSystem.h similarity index 94% rename from src/systems/SolveFixedJointSystem.h rename to include/reactphysics3d/systems/SolveFixedJointSystem.h index a2151a85..7640f096 100644 --- a/src/systems/SolveFixedJointSystem.h +++ b/include/reactphysics3d/systems/SolveFixedJointSystem.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_SOLVE_FIXED_JOINT_SYSTEM_H // Libraries -#include "utils/Profiler.h" -#include "components/RigidBodyComponents.h" -#include "components/JointComponents.h" -#include "components/FixedJointComponents.h" -#include "components/TransformComponents.h" +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/systems/SolveHingeJointSystem.h b/include/reactphysics3d/systems/SolveHingeJointSystem.h similarity index 95% rename from src/systems/SolveHingeJointSystem.h rename to include/reactphysics3d/systems/SolveHingeJointSystem.h index 36d876ee..9e120863 100644 --- a/src/systems/SolveHingeJointSystem.h +++ b/include/reactphysics3d/systems/SolveHingeJointSystem.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_SOLVE_HINGE_JOINT_SYSTEM_H // Libraries -#include "utils/Profiler.h" -#include "components/RigidBodyComponents.h" -#include "components/JointComponents.h" -#include "components/HingeJointComponents.h" -#include "components/TransformComponents.h" +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/systems/SolveSliderJointSystem.h b/include/reactphysics3d/systems/SolveSliderJointSystem.h similarity index 94% rename from src/systems/SolveSliderJointSystem.h rename to include/reactphysics3d/systems/SolveSliderJointSystem.h index faac19ce..651aafbe 100644 --- a/src/systems/SolveSliderJointSystem.h +++ b/include/reactphysics3d/systems/SolveSliderJointSystem.h @@ -27,11 +27,11 @@ #define REACTPHYSICS3D_SOLVE_SLIDER_JOINT_SYSTEM_H // Libraries -#include "utils/Profiler.h" -#include "components/RigidBodyComponents.h" -#include "components/JointComponents.h" -#include "components/SliderJointComponents.h" -#include "components/TransformComponents.h" +#include +#include +#include +#include +#include namespace reactphysics3d { diff --git a/src/utils/Logger.h b/include/reactphysics3d/utils/Logger.h similarity index 99% rename from src/utils/Logger.h rename to include/reactphysics3d/utils/Logger.h index a1bbc6c0..124673a9 100644 --- a/src/utils/Logger.h +++ b/include/reactphysics3d/utils/Logger.h @@ -30,8 +30,8 @@ #ifdef IS_LOGGING_ACTIVE // Libraries -#include "containers/List.h" -#include "containers/Map.h" +#include +#include #include #include #include diff --git a/src/utils/Profiler.h b/include/reactphysics3d/utils/Profiler.h similarity index 100% rename from src/utils/Profiler.h rename to include/reactphysics3d/utils/Profiler.h diff --git a/src/body/CollisionBody.cpp b/src/body/CollisionBody.cpp index e21884e4..eff3f1c6 100644 --- a/src/body/CollisionBody.cpp +++ b/src/body/CollisionBody.cpp @@ -24,11 +24,11 @@ ********************************************************************************/ // Libraries -#include "CollisionBody.h" -#include "engine/PhysicsWorld.h" -#include "collision/ContactManifold.h" -#include "collision/RaycastInfo.h" -#include "utils/Logger.h" +#include +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/body/RigidBody.cpp b/src/body/RigidBody.cpp index 4f6a7ad5..5fbab075 100644 --- a/src/body/RigidBody.cpp +++ b/src/body/RigidBody.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "RigidBody.h" -#include "collision/shapes/CollisionShape.h" -#include "engine/PhysicsWorld.h" -#include "utils/Profiler.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/Collider.cpp b/src/collision/Collider.cpp index 2ada633a..d4193baa 100644 --- a/src/collision/Collider.cpp +++ b/src/collision/Collider.cpp @@ -24,11 +24,11 @@ ********************************************************************************/ // Libraries -#include "Collider.h" -#include "utils/Logger.h" -#include "collision/RaycastInfo.h" -#include "memory/MemoryManager.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/CollisionCallback.cpp b/src/collision/CollisionCallback.cpp index 7644ee4c..58507b6c 100644 --- a/src/collision/CollisionCallback.cpp +++ b/src/collision/CollisionCallback.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "collision/CollisionCallback.h" -#include "collision/ContactPair.h" -#include "constraint/ContactPoint.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/ContactManifold.cpp b/src/collision/ContactManifold.cpp index 6d85dcad..0844f962 100644 --- a/src/collision/ContactManifold.cpp +++ b/src/collision/ContactManifold.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "ContactManifold.h" -#include "constraint/ContactPoint.h" -#include "collision/ContactManifoldInfo.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/HalfEdgeStructure.cpp b/src/collision/HalfEdgeStructure.cpp index 02382711..0c178871 100644 --- a/src/collision/HalfEdgeStructure.cpp +++ b/src/collision/HalfEdgeStructure.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "HalfEdgeStructure.h" -#include "containers/Map.h" -#include "containers/Pair.h" -#include "containers/containers_common.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/OverlapCallback.cpp b/src/collision/OverlapCallback.cpp index 70318739..b0448486 100644 --- a/src/collision/OverlapCallback.cpp +++ b/src/collision/OverlapCallback.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "collision/OverlapCallback.h" -#include "engine/PhysicsWorld.h" +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/PolygonVertexArray.cpp b/src/collision/PolygonVertexArray.cpp index 202d15be..b764d583 100644 --- a/src/collision/PolygonVertexArray.cpp +++ b/src/collision/PolygonVertexArray.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "PolygonVertexArray.h" +#include using namespace reactphysics3d; diff --git a/src/collision/PolyhedronMesh.cpp b/src/collision/PolyhedronMesh.cpp index e4f53ed3..37aef5b9 100644 --- a/src/collision/PolyhedronMesh.cpp +++ b/src/collision/PolyhedronMesh.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "PolyhedronMesh.h" -#include "memory/MemoryManager.h" -#include "collision/PolygonVertexArray.h" +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/RaycastInfo.cpp b/src/collision/RaycastInfo.cpp index 3879e80e..bca91a34 100644 --- a/src/collision/RaycastInfo.cpp +++ b/src/collision/RaycastInfo.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "decimal.h" -#include "RaycastInfo.h" -#include "Collider.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/TriangleMesh.cpp b/src/collision/TriangleMesh.cpp index 3596ba24..b7f522c9 100644 --- a/src/collision/TriangleMesh.cpp +++ b/src/collision/TriangleMesh.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "TriangleMesh.h" +#include using namespace reactphysics3d; diff --git a/src/collision/TriangleVertexArray.cpp b/src/collision/TriangleVertexArray.cpp index 65591bf0..f86febc1 100644 --- a/src/collision/TriangleVertexArray.cpp +++ b/src/collision/TriangleVertexArray.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "TriangleVertexArray.h" -#include "mathematics/Vector3.h" +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/broadphase/DynamicAABBTree.cpp b/src/collision/broadphase/DynamicAABBTree.cpp index 4c0e667a..3621f736 100644 --- a/src/collision/broadphase/DynamicAABBTree.cpp +++ b/src/collision/broadphase/DynamicAABBTree.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "DynamicAABBTree.h" -#include "systems/BroadPhaseSystem.h" -#include "containers/Stack.h" -#include "utils/Profiler.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.cpp b/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.cpp index 7dbbb271..7f69964c 100755 --- a/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.cpp +++ b/src/collision/narrowphase/CapsuleVsCapsuleAlgorithm.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "CapsuleVsCapsuleAlgorithm.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.h" +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.cpp b/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.cpp index 9d7d7232..c8780c02 100644 --- a/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.cpp +++ b/src/collision/narrowphase/CapsuleVsCapsuleNarrowPhaseInfoBatch.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "CapsuleVsCapsuleNarrowPhaseInfoBatch.h" -#include "collision/shapes/CapsuleShape.h" +#include +#include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.cpp b/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.cpp index d1498de6..0342487b 100644 --- a/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.cpp +++ b/src/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.cpp @@ -24,13 +24,13 @@ ********************************************************************************/ // Libraries -#include "CapsuleVsConvexPolyhedronAlgorithm.h" -#include "SAT/SATAlgorithm.h" -#include "GJK/GJKAlgorithm.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/ConvexPolyhedronShape.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" -#include "collision/ContactPointInfo.h" +#include +#include +#include +#include +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/collision/narrowphase/CollisionDispatch.cpp b/src/collision/narrowphase/CollisionDispatch.cpp index bb0a948e..a015548e 100644 --- a/src/collision/narrowphase/CollisionDispatch.cpp +++ b/src/collision/narrowphase/CollisionDispatch.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "CollisionDispatch.h" +#include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.cpp b/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.cpp index 652116bf..ac4791c1 100644 --- a/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.cpp +++ b/src/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "ConvexPolyhedronVsConvexPolyhedronAlgorithm.h" -#include "GJK/GJKAlgorithm.h" -#include "SAT/SATAlgorithm.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/GJK/GJKAlgorithm.cpp b/src/collision/narrowphase/GJK/GJKAlgorithm.cpp index 97056eee..ff39943d 100644 --- a/src/collision/narrowphase/GJK/GJKAlgorithm.cpp +++ b/src/collision/narrowphase/GJK/GJKAlgorithm.cpp @@ -24,15 +24,15 @@ ********************************************************************************/ // Libraries -#include "GJKAlgorithm.h" -#include "constraint/ContactPoint.h" -#include "engine/OverlappingPairs.h" -#include "collision/shapes/TriangleShape.h" -#include "configuration.h" -#include "utils/Profiler.h" -#include "containers/List.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" -#include "collision/narrowphase/GJK/VoronoiSimplex.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/collision/narrowphase/GJK/VoronoiSimplex.cpp b/src/collision/narrowphase/GJK/VoronoiSimplex.cpp index b9359abd..0befd387 100644 --- a/src/collision/narrowphase/GJK/VoronoiSimplex.cpp +++ b/src/collision/narrowphase/GJK/VoronoiSimplex.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "VoronoiSimplex.h" -#include "mathematics/Vector2.h" +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/NarrowPhaseInfoBatch.cpp b/src/collision/narrowphase/NarrowPhaseInfoBatch.cpp index cffab5af..f7a5ce21 100644 --- a/src/collision/narrowphase/NarrowPhaseInfoBatch.cpp +++ b/src/collision/narrowphase/NarrowPhaseInfoBatch.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "NarrowPhaseInfoBatch.h" -#include "collision/ContactPointInfo.h" -#include "collision/shapes/TriangleShape.h" -#include "engine/OverlappingPairs.h" +#include +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/NarrowPhaseInput.cpp b/src/collision/narrowphase/NarrowPhaseInput.cpp index 5fa35d4e..aff929ed 100644 --- a/src/collision/narrowphase/NarrowPhaseInput.cpp +++ b/src/collision/narrowphase/NarrowPhaseInput.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "collision/narrowphase/NarrowPhaseInput.h" -#include "collision/narrowphase/CollisionDispatch.h" +#include +#include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/SAT/SATAlgorithm.cpp b/src/collision/narrowphase/SAT/SATAlgorithm.cpp index 018c4fcd..e9c89853 100644 --- a/src/collision/narrowphase/SAT/SATAlgorithm.cpp +++ b/src/collision/narrowphase/SAT/SATAlgorithm.cpp @@ -24,16 +24,16 @@ ********************************************************************************/ // Libraries -#include "SATAlgorithm.h" -#include "constraint/ContactPoint.h" -#include "collision/PolyhedronMesh.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/SphereShape.h" -#include "engine/OverlappingPairs.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" -#include "collision/shapes/TriangleShape.h" -#include "configuration.h" -#include "utils/Profiler.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/collision/narrowphase/SphereVsCapsuleAlgorithm.cpp b/src/collision/narrowphase/SphereVsCapsuleAlgorithm.cpp index 19ee161d..fe2dab68 100755 --- a/src/collision/narrowphase/SphereVsCapsuleAlgorithm.cpp +++ b/src/collision/narrowphase/SphereVsCapsuleAlgorithm.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "SphereVsCapsuleAlgorithm.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.cpp b/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.cpp index 6be1ded8..7d33d609 100644 --- a/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.cpp +++ b/src/collision/narrowphase/SphereVsCapsuleNarrowPhaseInfoBatch.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "SphereVsCapsuleNarrowPhaseInfoBatch.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/CapsuleShape.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.cpp b/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.cpp index 98326bfd..64ee7f87 100644 --- a/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.cpp +++ b/src/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "SphereVsConvexPolyhedronAlgorithm.h" -#include "GJK/GJKAlgorithm.h" -#include "SAT/SATAlgorithm.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp b/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp index e31c7aae..4af07480 100755 --- a/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp +++ b/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "SphereVsSphereAlgorithm.h" -#include "collision/shapes/SphereShape.h" -#include "collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.h" +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.cpp b/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.cpp index d6234e12..76914285 100644 --- a/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.cpp +++ b/src/collision/narrowphase/SphereVsSphereNarrowPhaseInfoBatch.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "SphereVsSphereNarrowPhaseInfoBatch.h" -#include "collision/shapes/SphereShape.h" +#include +#include using namespace reactphysics3d; diff --git a/src/collision/shapes/AABB.cpp b/src/collision/shapes/AABB.cpp index 93b994d6..098a5604 100644 --- a/src/collision/shapes/AABB.cpp +++ b/src/collision/shapes/AABB.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "AABB.h" -#include "configuration.h" +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/shapes/BoxShape.cpp b/src/collision/shapes/BoxShape.cpp index ae93f986..e243423d 100644 --- a/src/collision/shapes/BoxShape.cpp +++ b/src/collision/shapes/BoxShape.cpp @@ -24,11 +24,11 @@ ********************************************************************************/ // Libraries -#include "BoxShape.h" -#include "collision/Collider.h" -#include "configuration.h" -#include "memory/MemoryManager.h" -#include "collision/RaycastInfo.h" +#include +#include +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/shapes/CapsuleShape.cpp b/src/collision/shapes/CapsuleShape.cpp index 13a29b6c..c1004c9b 100644 --- a/src/collision/shapes/CapsuleShape.cpp +++ b/src/collision/shapes/CapsuleShape.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "CapsuleShape.h" -#include "collision/Collider.h" -#include "configuration.h" -#include "collision/RaycastInfo.h" +#include +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/shapes/CollisionShape.cpp b/src/collision/shapes/CollisionShape.cpp index 576e6ff4..e49aa2e8 100644 --- a/src/collision/shapes/CollisionShape.cpp +++ b/src/collision/shapes/CollisionShape.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "CollisionShape.h" -#include "utils/Profiler.h" -#include "body/CollisionBody.h" -#include "collision/Collider.h" +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/shapes/ConcaveMeshShape.cpp b/src/collision/shapes/ConcaveMeshShape.cpp index a5f873fc..37c3c729 100644 --- a/src/collision/shapes/ConcaveMeshShape.cpp +++ b/src/collision/shapes/ConcaveMeshShape.cpp @@ -24,12 +24,12 @@ ********************************************************************************/ // Libraries -#include "ConcaveMeshShape.h" -#include "memory/MemoryManager.h" -#include "collision/RaycastInfo.h" -#include "collision/TriangleMesh.h" -#include "utils/Profiler.h" -#include "collision/TriangleVertexArray.h" +#include +#include +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/shapes/ConcaveShape.cpp b/src/collision/shapes/ConcaveShape.cpp index d60862d0..37bd6fa6 100644 --- a/src/collision/shapes/ConcaveShape.cpp +++ b/src/collision/shapes/ConcaveShape.cpp @@ -24,8 +24,7 @@ ********************************************************************************/ // Libraries -#include "ConcaveShape.h" - +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/shapes/ConvexMeshShape.cpp b/src/collision/shapes/ConvexMeshShape.cpp index df105a5e..aaafe693 100644 --- a/src/collision/shapes/ConvexMeshShape.cpp +++ b/src/collision/shapes/ConvexMeshShape.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "configuration.h" -#include "ConvexMeshShape.h" -#include "engine/PhysicsWorld.h" -#include "collision/RaycastInfo.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/shapes/ConvexPolyhedronShape.cpp b/src/collision/shapes/ConvexPolyhedronShape.cpp index 53bb92c8..b9cd8c9c 100644 --- a/src/collision/shapes/ConvexPolyhedronShape.cpp +++ b/src/collision/shapes/ConvexPolyhedronShape.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "ConvexPolyhedronShape.h" +#include // We want to use the ReactPhysics3D namespace diff --git a/src/collision/shapes/ConvexShape.cpp b/src/collision/shapes/ConvexShape.cpp index 2b9c3d81..11744a89 100644 --- a/src/collision/shapes/ConvexShape.cpp +++ b/src/collision/shapes/ConvexShape.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "ConvexShape.h" -#include "mathematics/Vector3.h" +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/collision/shapes/HeightFieldShape.cpp b/src/collision/shapes/HeightFieldShape.cpp index f2ffa0b5..7553960d 100644 --- a/src/collision/shapes/HeightFieldShape.cpp +++ b/src/collision/shapes/HeightFieldShape.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "HeightFieldShape.h" -#include "collision/RaycastInfo.h" -#include "utils/Profiler.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/collision/shapes/SphereShape.cpp b/src/collision/shapes/SphereShape.cpp index db3955bc..b20c2b18 100644 --- a/src/collision/shapes/SphereShape.cpp +++ b/src/collision/shapes/SphereShape.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "SphereShape.h" -#include "collision/Collider.h" -#include "configuration.h" -#include "collision/RaycastInfo.h" +#include +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/collision/shapes/TriangleShape.cpp b/src/collision/shapes/TriangleShape.cpp index fda8c200..046dd800 100644 --- a/src/collision/shapes/TriangleShape.cpp +++ b/src/collision/shapes/TriangleShape.cpp @@ -24,12 +24,12 @@ ********************************************************************************/ // Libraries -#include "TriangleShape.h" -#include "collision/Collider.h" -#include "mathematics/mathematics_functions.h" -#include "collision/RaycastInfo.h" -#include "utils/Profiler.h" -#include "configuration.h" +#include +#include +#include +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/components/BallAndSocketJointComponents.cpp b/src/components/BallAndSocketJointComponents.cpp index f1791575..317f265e 100644 --- a/src/components/BallAndSocketJointComponents.cpp +++ b/src/components/BallAndSocketJointComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "BallAndSocketJointComponents.h" -#include "engine/EntityManager.h" -#include "mathematics/Matrix3x3.h" +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/ColliderComponents.cpp b/src/components/ColliderComponents.cpp index 7d890e39..33a47503 100644 --- a/src/components/ColliderComponents.cpp +++ b/src/components/ColliderComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "ColliderComponents.h" -#include "engine/EntityManager.h" -#include "collision/Collider.h" +#include +#include +#include #include #include diff --git a/src/components/CollisionBodyComponents.cpp b/src/components/CollisionBodyComponents.cpp index 8151f74c..fbea0a6d 100644 --- a/src/components/CollisionBodyComponents.cpp +++ b/src/components/CollisionBodyComponents.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "CollisionBodyComponents.h" -#include "engine/EntityManager.h" +#include +#include #include #include diff --git a/src/components/Components.cpp b/src/components/Components.cpp index 3749b0f4..d9a38e1d 100644 --- a/src/components/Components.cpp +++ b/src/components/Components.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Components.h" +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/FixedJointComponents.cpp b/src/components/FixedJointComponents.cpp index fb261de0..81cafefd 100644 --- a/src/components/FixedJointComponents.cpp +++ b/src/components/FixedJointComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "FixedJointComponents.h" -#include "engine/EntityManager.h" -#include "mathematics/Matrix3x3.h" +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/HingeJointComponents.cpp b/src/components/HingeJointComponents.cpp index 253e56dd..a4a6ad0b 100644 --- a/src/components/HingeJointComponents.cpp +++ b/src/components/HingeJointComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "HingeJointComponents.h" -#include "engine/EntityManager.h" -#include "mathematics/Matrix3x3.h" +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/JointComponents.cpp b/src/components/JointComponents.cpp index 71a33aba..d2597a12 100644 --- a/src/components/JointComponents.cpp +++ b/src/components/JointComponents.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "JointComponents.h" -#include "engine/EntityManager.h" +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/RigidBodyComponents.cpp b/src/components/RigidBodyComponents.cpp index 58b98845..416e1045 100644 --- a/src/components/RigidBodyComponents.cpp +++ b/src/components/RigidBodyComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "RigidBodyComponents.h" -#include "engine/EntityManager.h" -#include "body/RigidBody.h" +#include +#include +#include #include #include diff --git a/src/components/SliderJointComponents.cpp b/src/components/SliderJointComponents.cpp index c1e1ce4c..cbabb681 100644 --- a/src/components/SliderJointComponents.cpp +++ b/src/components/SliderJointComponents.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "SliderJointComponents.h" -#include "engine/EntityManager.h" -#include "mathematics/Matrix3x3.h" +#include +#include +#include #include // We want to use the ReactPhysics3D namespace diff --git a/src/components/TransformComponents.cpp b/src/components/TransformComponents.cpp index b705e130..6c590861 100644 --- a/src/components/TransformComponents.cpp +++ b/src/components/TransformComponents.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "TransformComponents.h" -#include "engine/EntityManager.h" +#include +#include #include #include diff --git a/src/constraint/BallAndSocketJoint.cpp b/src/constraint/BallAndSocketJoint.cpp index 9c94f831..bfbb21fd 100644 --- a/src/constraint/BallAndSocketJoint.cpp +++ b/src/constraint/BallAndSocketJoint.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "BallAndSocketJoint.h" -#include "systems/ConstraintSolverSystem.h" -#include "components/RigidBodyComponents.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/constraint/ContactPoint.cpp b/src/constraint/ContactPoint.cpp index 67569efa..5f72fb61 100644 --- a/src/constraint/ContactPoint.cpp +++ b/src/constraint/ContactPoint.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "ContactPoint.h" -#include "collision/Collider.h" +#include +#include using namespace reactphysics3d; using namespace std; diff --git a/src/constraint/FixedJoint.cpp b/src/constraint/FixedJoint.cpp index a798e6eb..d3483e87 100644 --- a/src/constraint/FixedJoint.cpp +++ b/src/constraint/FixedJoint.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "FixedJoint.h" -#include "systems/ConstraintSolverSystem.h" -#include "components/RigidBodyComponents.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/constraint/HingeJoint.cpp b/src/constraint/HingeJoint.cpp index 4d4c8957..eff142ff 100644 --- a/src/constraint/HingeJoint.cpp +++ b/src/constraint/HingeJoint.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "HingeJoint.h" -#include "systems/ConstraintSolverSystem.h" -#include "components/RigidBodyComponents.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/constraint/Joint.cpp b/src/constraint/Joint.cpp index a1c5507e..44df5bee 100644 --- a/src/constraint/Joint.cpp +++ b/src/constraint/Joint.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "Joint.h" -#include "engine/PhysicsWorld.h" +#include +#include using namespace reactphysics3d; diff --git a/src/constraint/SliderJoint.cpp b/src/constraint/SliderJoint.cpp index 62ac6a6a..9df878d5 100644 --- a/src/constraint/SliderJoint.cpp +++ b/src/constraint/SliderJoint.cpp @@ -24,10 +24,10 @@ ********************************************************************************/ // Libraries -#include "SliderJoint.h" -#include "systems/ConstraintSolverSystem.h" -#include "components/RigidBodyComponents.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/engine/Entity.cpp b/src/engine/Entity.cpp index 7696e038..70324a16 100644 --- a/src/engine/Entity.cpp +++ b/src/engine/Entity.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Entity.h" +#include #include using namespace reactphysics3d; diff --git a/src/engine/EntityManager.cpp b/src/engine/EntityManager.cpp index 6fb33eee..39c68c00 100644 --- a/src/engine/EntityManager.cpp +++ b/src/engine/EntityManager.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "EntityManager.h" -#include "Entity.h" +#include +#include using namespace reactphysics3d; diff --git a/src/engine/Island.cpp b/src/engine/Island.cpp index d30c8903..84a0122a 100644 --- a/src/engine/Island.cpp +++ b/src/engine/Island.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "Island.h" -#include "memory/MemoryManager.h" +#include +#include using namespace reactphysics3d; diff --git a/src/engine/Material.cpp b/src/engine/Material.cpp index f121c589..e806232c 100644 --- a/src/engine/Material.cpp +++ b/src/engine/Material.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Material.h" +#include using namespace reactphysics3d; diff --git a/src/engine/OverlappingPairs.cpp b/src/engine/OverlappingPairs.cpp index 83dc76c7..f9f60460 100644 --- a/src/engine/OverlappingPairs.cpp +++ b/src/engine/OverlappingPairs.cpp @@ -25,11 +25,11 @@ // Libraries #include -#include "OverlappingPairs.h" -#include "containers/containers_common.h" -#include "collision/ContactPointInfo.h" -#include "collision/narrowphase/NarrowPhaseAlgorithm.h" -#include "collision/narrowphase/CollisionDispatch.h" +#include +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/engine/PhysicsCommon.cpp b/src/engine/PhysicsCommon.cpp index fb2b9d90..ccff5a14 100644 --- a/src/engine/PhysicsCommon.cpp +++ b/src/engine/PhysicsCommon.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "PhysicsCommon.h" +#include using namespace reactphysics3d; diff --git a/src/engine/PhysicsWorld.cpp b/src/engine/PhysicsWorld.cpp index 4a600efd..4cc9d062 100644 --- a/src/engine/PhysicsWorld.cpp +++ b/src/engine/PhysicsWorld.cpp @@ -24,16 +24,16 @@ ********************************************************************************/ // Libraries -#include "PhysicsWorld.h" -#include "constraint/BallAndSocketJoint.h" -#include "constraint/SliderJoint.h" -#include "constraint/HingeJoint.h" -#include "constraint/FixedJoint.h" -#include "utils/Profiler.h" -#include "engine/EventListener.h" -#include "engine/Island.h" -#include "collision/ContactManifold.h" -#include "containers/Stack.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // Namespaces using namespace reactphysics3d; diff --git a/src/engine/Timer.cpp b/src/engine/Timer.cpp index 5ed3aa93..e05937fa 100644 --- a/src/engine/Timer.cpp +++ b/src/engine/Timer.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Timer.h" +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/mathematics/Matrix2x2.cpp b/src/mathematics/Matrix2x2.cpp index 3d483573..558ea931 100644 --- a/src/mathematics/Matrix2x2.cpp +++ b/src/mathematics/Matrix2x2.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Matrix2x2.h" +#include using namespace reactphysics3d; diff --git a/src/mathematics/Matrix3x3.cpp b/src/mathematics/Matrix3x3.cpp index 89c7cec7..aaf8f73f 100644 --- a/src/mathematics/Matrix3x3.cpp +++ b/src/mathematics/Matrix3x3.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Matrix3x3.h" +#include // Namespaces using namespace reactphysics3d; diff --git a/src/mathematics/Quaternion.cpp b/src/mathematics/Quaternion.cpp index 33f0f34c..af55f4d3 100644 --- a/src/mathematics/Quaternion.cpp +++ b/src/mathematics/Quaternion.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "Quaternion.h" -#include "Vector3.h" -#include "Matrix3x3.h" +#include +#include +#include #include // Namespace diff --git a/src/mathematics/Transform.cpp b/src/mathematics/Transform.cpp index f4205645..bb69cdd4 100644 --- a/src/mathematics/Transform.cpp +++ b/src/mathematics/Transform.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "Transform.h" -#include "Matrix3x3.h" +#include +#include // Namespaces using namespace reactphysics3d; diff --git a/src/mathematics/Vector2.cpp b/src/mathematics/Vector2.cpp index 04fdf104..b52bf370 100644 --- a/src/mathematics/Vector2.cpp +++ b/src/mathematics/Vector2.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Vector2.h" +#include // Namespaces using namespace reactphysics3d; diff --git a/src/mathematics/Vector3.cpp b/src/mathematics/Vector3.cpp index b1d443f0..3d6d49ab 100644 --- a/src/mathematics/Vector3.cpp +++ b/src/mathematics/Vector3.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "Vector3.h" +#include // Namespaces using namespace reactphysics3d; diff --git a/src/mathematics/mathematics_functions.cpp b/src/mathematics/mathematics_functions.cpp index 51bd7be9..b05a9485 100755 --- a/src/mathematics/mathematics_functions.cpp +++ b/src/mathematics/mathematics_functions.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "mathematics_functions.h" -#include "Vector3.h" -#include "Vector2.h" +#include +#include +#include #include using namespace reactphysics3d; diff --git a/src/memory/HeapAllocator.cpp b/src/memory/HeapAllocator.cpp index c1537a98..5d9b95d0 100644 --- a/src/memory/HeapAllocator.cpp +++ b/src/memory/HeapAllocator.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "HeapAllocator.h" -#include "MemoryManager.h" +#include +#include #include #include #include diff --git a/src/memory/MemoryManager.cpp b/src/memory/MemoryManager.cpp index a5aff544..e9a27fc8 100644 --- a/src/memory/MemoryManager.cpp +++ b/src/memory/MemoryManager.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ // Libraries -#include "memory/MemoryManager.h" +#include using namespace reactphysics3d; diff --git a/src/memory/PoolAllocator.cpp b/src/memory/PoolAllocator.cpp index 6ae8aecc..4a406dd4 100644 --- a/src/memory/PoolAllocator.cpp +++ b/src/memory/PoolAllocator.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "PoolAllocator.h" -#include "MemoryManager.h" +#include +#include #include #include diff --git a/src/memory/SingleFrameAllocator.cpp b/src/memory/SingleFrameAllocator.cpp index 94b6aa0c..63be5a24 100644 --- a/src/memory/SingleFrameAllocator.cpp +++ b/src/memory/SingleFrameAllocator.cpp @@ -24,8 +24,8 @@ ********************************************************************************/ // Libraries -#include "SingleFrameAllocator.h" -#include "MemoryManager.h" +#include +#include #include #include diff --git a/src/systems/BroadPhaseSystem.cpp b/src/systems/BroadPhaseSystem.cpp index 06459032..fdd0594e 100644 --- a/src/systems/BroadPhaseSystem.cpp +++ b/src/systems/BroadPhaseSystem.cpp @@ -24,12 +24,12 @@ ********************************************************************************/ // Libraries -#include "BroadPhaseSystem.h" -#include "systems/CollisionDetectionSystem.h" -#include "utils/Profiler.h" -#include "collision/RaycastInfo.h" -#include "memory/MemoryManager.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include +#include +#include +#include // We want to use the ReactPhysics3D namespace using namespace reactphysics3d; diff --git a/src/systems/CollisionDetectionSystem.cpp b/src/systems/CollisionDetectionSystem.cpp index 9f872399..1b3ac912 100644 --- a/src/systems/CollisionDetectionSystem.cpp +++ b/src/systems/CollisionDetectionSystem.cpp @@ -24,23 +24,23 @@ ********************************************************************************/ // Libraries -#include "systems/CollisionDetectionSystem.h" -#include "engine/PhysicsWorld.h" -#include "collision/OverlapCallback.h" -#include "collision/shapes/BoxShape.h" -#include "collision/shapes/ConcaveShape.h" -#include "collision/ContactManifoldInfo.h" -#include "constraint/ContactPoint.h" -#include "body/RigidBody.h" -#include "configuration.h" -#include "collision/CollisionCallback.h" -#include "collision/OverlapCallback.h" -#include "collision/narrowphase/NarrowPhaseInfoBatch.h" -#include "collision/ContactManifold.h" -#include "utils/Profiler.h" -#include "engine/EventListener.h" -#include "collision/RaycastInfo.h" -#include "containers/Pair.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/systems/ConstraintSolverSystem.cpp b/src/systems/ConstraintSolverSystem.cpp index d77fbab0..43f56330 100644 --- a/src/systems/ConstraintSolverSystem.cpp +++ b/src/systems/ConstraintSolverSystem.cpp @@ -24,11 +24,11 @@ ********************************************************************************/ // Libraries -#include "systems/ConstraintSolverSystem.h" -#include "components/JointComponents.h" -#include "components/BallAndSocketJointComponents.h" -#include "utils/Profiler.h" -#include "engine/Island.h" +#include +#include +#include +#include +#include using namespace reactphysics3d; diff --git a/src/systems/ContactSolverSystem.cpp b/src/systems/ContactSolverSystem.cpp index a72bfe94..157cab57 100644 --- a/src/systems/ContactSolverSystem.cpp +++ b/src/systems/ContactSolverSystem.cpp @@ -24,16 +24,16 @@ ********************************************************************************/ // Libraries -#include "systems/ContactSolverSystem.h" -#include "engine/PhysicsWorld.h" -#include "body/RigidBody.h" -#include "constraint/ContactPoint.h" -#include "utils/Profiler.h" -#include "engine/Island.h" -#include "collision/Collider.h" -#include "components/CollisionBodyComponents.h" -#include "components/ColliderComponents.h" -#include "collision/ContactManifold.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include using namespace reactphysics3d; using namespace std; diff --git a/src/systems/DynamicsSystem.cpp b/src/systems/DynamicsSystem.cpp index 58575d05..9ad3c52e 100644 --- a/src/systems/DynamicsSystem.cpp +++ b/src/systems/DynamicsSystem.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "systems/DynamicsSystem.h" -#include "body/RigidBody.h" -#include "engine/PhysicsWorld.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/systems/SolveBallAndSocketJointSystem.cpp b/src/systems/SolveBallAndSocketJointSystem.cpp index 586d36d3..1b689322 100644 --- a/src/systems/SolveBallAndSocketJointSystem.cpp +++ b/src/systems/SolveBallAndSocketJointSystem.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "systems/SolveBallAndSocketJointSystem.h" -#include "engine/PhysicsWorld.h" -#include "body/RigidBody.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/systems/SolveFixedJointSystem.cpp b/src/systems/SolveFixedJointSystem.cpp index 4dc43220..603faadc 100644 --- a/src/systems/SolveFixedJointSystem.cpp +++ b/src/systems/SolveFixedJointSystem.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "systems/SolveFixedJointSystem.h" -#include "engine/PhysicsWorld.h" -#include "body/RigidBody.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/systems/SolveHingeJointSystem.cpp b/src/systems/SolveHingeJointSystem.cpp index 050826e5..7fa29a4e 100644 --- a/src/systems/SolveHingeJointSystem.cpp +++ b/src/systems/SolveHingeJointSystem.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "systems/SolveHingeJointSystem.h" -#include "engine/PhysicsWorld.h" -#include "body/RigidBody.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/systems/SolveSliderJointSystem.cpp b/src/systems/SolveSliderJointSystem.cpp index 912f1721..d2c72019 100644 --- a/src/systems/SolveSliderJointSystem.cpp +++ b/src/systems/SolveSliderJointSystem.cpp @@ -24,9 +24,9 @@ ********************************************************************************/ // Libraries -#include "systems/SolveSliderJointSystem.h" -#include "engine/PhysicsWorld.h" -#include "body/RigidBody.h" +#include +#include +#include using namespace reactphysics3d; diff --git a/src/utils/Logger.cpp b/src/utils/Logger.cpp index 853c8a59..2c7dd916 100644 --- a/src/utils/Logger.cpp +++ b/src/utils/Logger.cpp @@ -26,8 +26,8 @@ #ifdef IS_LOGGING_ACTIVE // Libraries -#include "Logger.h" -#include "memory/MemoryManager.h" +#include +#include using namespace reactphysics3d; diff --git a/src/utils/Profiler.cpp b/src/utils/Profiler.cpp index 879d12d5..a3cba657 100644 --- a/src/utils/Profiler.cpp +++ b/src/utils/Profiler.cpp @@ -29,7 +29,7 @@ // Libraries #include "Profiler.h" #include -#include "memory/MemoryManager.h" +#include using namespace reactphysics3d; diff --git a/test/tests/collision/TestAABB.h b/test/tests/collision/TestAABB.h index 073c7391..d51972dd 100644 --- a/test/tests/collision/TestAABB.h +++ b/test/tests/collision/TestAABB.h @@ -27,7 +27,7 @@ #define TEST_AABB_H // Libraries -#include "reactphysics3d.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/collision/TestCollisionWorld.h b/test/tests/collision/TestCollisionWorld.h index 3b89d777..d5e337f7 100644 --- a/test/tests/collision/TestCollisionWorld.h +++ b/test/tests/collision/TestCollisionWorld.h @@ -27,10 +27,10 @@ #define TEST_COLLISION_WORLD_H // Libraries -#include "reactphysics3d.h" +#include #include "Test.h" -#include "constraint/ContactPoint.h" -#include "collision/ContactManifold.h" +#include +#include #include #include diff --git a/test/tests/collision/TestDynamicAABBTree.h b/test/tests/collision/TestDynamicAABBTree.h index 465ae241..4f80b0c9 100755 --- a/test/tests/collision/TestDynamicAABBTree.h +++ b/test/tests/collision/TestDynamicAABBTree.h @@ -28,10 +28,10 @@ // Libraries #include "Test.h" -#include "collision/broadphase/DynamicAABBTree.h" -#include "memory/MemoryManager.h" -#include "engine/PhysicsCommon.h" -#include "utils/Profiler.h" +#include +#include +#include +#include #include /// Reactphysics3D namespace diff --git a/test/tests/collision/TestHalfEdgeStructure.h b/test/tests/collision/TestHalfEdgeStructure.h index 67aed24f..447c1c97 100644 --- a/test/tests/collision/TestHalfEdgeStructure.h +++ b/test/tests/collision/TestHalfEdgeStructure.h @@ -2,7 +2,7 @@ #define TEST_HALF_EDGE_STRUCTURE_H // Libraries -#include "reactphysics3d.h" +#include #include "Test.h" #include diff --git a/test/tests/collision/TestPointInside.h b/test/tests/collision/TestPointInside.h index 9606898d..9170a2d8 100644 --- a/test/tests/collision/TestPointInside.h +++ b/test/tests/collision/TestPointInside.h @@ -28,13 +28,13 @@ // Libraries #include "Test.h" -#include "collision/shapes/BoxShape.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/ConvexMeshShape.h" -#include "engine/PhysicsWorld.h" -#include "engine/PhysicsCommon.h" -#include "collision/PolygonVertexArray.h" +#include +#include +#include +#include +#include +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/collision/TestRaycast.h b/test/tests/collision/TestRaycast.h index 4b876df1..51f6f7de 100644 --- a/test/tests/collision/TestRaycast.h +++ b/test/tests/collision/TestRaycast.h @@ -28,20 +28,20 @@ // Libraries #include "Test.h" -#include "engine/PhysicsCommon.h" -#include "engine/PhysicsWorld.h" -#include "body/CollisionBody.h" -#include "collision/shapes/BoxShape.h" -#include "collision/shapes/SphereShape.h" -#include "collision/shapes/CapsuleShape.h" -#include "collision/shapes/ConvexMeshShape.h" -#include "collision/shapes/TriangleShape.h" -#include "collision/shapes/ConcaveMeshShape.h" -#include "collision/shapes/HeightFieldShape.h" -#include "collision/TriangleMesh.h" -#include "collision/TriangleVertexArray.h" -#include "collision/RaycastInfo.h" -#include "collision/PolygonVertexArray.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include /// Reactphysics3D namespace diff --git a/test/tests/collision/TestTriangleVertexArray.h b/test/tests/collision/TestTriangleVertexArray.h index 30dd3fd5..49161d23 100644 --- a/test/tests/collision/TestTriangleVertexArray.h +++ b/test/tests/collision/TestTriangleVertexArray.h @@ -27,7 +27,7 @@ #define TEST_TRIANGLE_VERTEX_ARRAY_H // Libraries -#include "reactphysics3d.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/containers/TestDeque.h b/test/tests/containers/TestDeque.h index 8f3c9709..545771ec 100644 --- a/test/tests/containers/TestDeque.h +++ b/test/tests/containers/TestDeque.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "containers/Deque.h" -#include "memory/DefaultAllocator.h" +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/containers/TestList.h b/test/tests/containers/TestList.h index f827fe8a..5190e341 100644 --- a/test/tests/containers/TestList.h +++ b/test/tests/containers/TestList.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "containers/List.h" -#include "memory/DefaultAllocator.h" +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/containers/TestMap.h b/test/tests/containers/TestMap.h index 4505ab1a..9ede266a 100644 --- a/test/tests/containers/TestMap.h +++ b/test/tests/containers/TestMap.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "containers/Map.h" -#include "memory/DefaultAllocator.h" +#include +#include // Key to test map with always same hash values namespace reactphysics3d { diff --git a/test/tests/containers/TestSet.h b/test/tests/containers/TestSet.h index 5b75cd71..0d1f4091 100644 --- a/test/tests/containers/TestSet.h +++ b/test/tests/containers/TestSet.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "containers/Set.h" -#include "memory/DefaultAllocator.h" +#include +#include // Key to test map with always same hash values namespace reactphysics3d { diff --git a/test/tests/containers/TestStack.h b/test/tests/containers/TestStack.h index e014fc4b..d655e3f6 100644 --- a/test/tests/containers/TestStack.h +++ b/test/tests/containers/TestStack.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "containers/Stack.h" -#include "memory/DefaultAllocator.h" +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestMathematicsFunctions.h b/test/tests/mathematics/TestMathematicsFunctions.h index f6283d3f..5a8c5623 100644 --- a/test/tests/mathematics/TestMathematicsFunctions.h +++ b/test/tests/mathematics/TestMathematicsFunctions.h @@ -27,8 +27,8 @@ #define TEST_MATHEMATICS_FUNCTIONS_H // Libraries -#include "containers/List.h" -#include "memory/DefaultAllocator.h" +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestMatrix2x2.h b/test/tests/mathematics/TestMatrix2x2.h index 8189cb51..d6b8eb3d 100644 --- a/test/tests/mathematics/TestMatrix2x2.h +++ b/test/tests/mathematics/TestMatrix2x2.h @@ -28,7 +28,7 @@ // Libraries #include "Test.h" -#include "mathematics/Matrix2x2.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestMatrix3x3.h b/test/tests/mathematics/TestMatrix3x3.h index c369bde9..4e7d95a9 100644 --- a/test/tests/mathematics/TestMatrix3x3.h +++ b/test/tests/mathematics/TestMatrix3x3.h @@ -28,7 +28,7 @@ // Libraries #include "Test.h" -#include "mathematics/Matrix3x3.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestQuaternion.h b/test/tests/mathematics/TestQuaternion.h index f15c9f72..3a25cba9 100644 --- a/test/tests/mathematics/TestQuaternion.h +++ b/test/tests/mathematics/TestQuaternion.h @@ -28,7 +28,7 @@ // Libraries #include "Test.h" -#include "mathematics/Quaternion.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestTransform.h b/test/tests/mathematics/TestTransform.h index e9eef1c6..cb020df9 100644 --- a/test/tests/mathematics/TestTransform.h +++ b/test/tests/mathematics/TestTransform.h @@ -28,8 +28,8 @@ // Libraries #include "Test.h" -#include "mathematics/Transform.h" -#include "mathematics/Matrix3x3.h" +#include +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestVector2.h b/test/tests/mathematics/TestVector2.h index e3f1d892..618972c1 100644 --- a/test/tests/mathematics/TestVector2.h +++ b/test/tests/mathematics/TestVector2.h @@ -28,7 +28,7 @@ // Libraries #include "Test.h" -#include "mathematics/Vector2.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/test/tests/mathematics/TestVector3.h b/test/tests/mathematics/TestVector3.h index 76d64564..68c45ebd 100644 --- a/test/tests/mathematics/TestVector3.h +++ b/test/tests/mathematics/TestVector3.h @@ -28,7 +28,7 @@ // Libraries #include "Test.h" -#include "mathematics/Vector3.h" +#include /// Reactphysics3D namespace namespace reactphysics3d { diff --git a/testbed/common/AABB.h b/testbed/common/AABB.h index 2e8f82e1..ffd54950 100644 --- a/testbed/common/AABB.h +++ b/testbed/common/AABB.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include // Class AABB class AABB { diff --git a/testbed/common/Box.h b/testbed/common/Box.h index 9564bf6f..e1aefd00 100644 --- a/testbed/common/Box.h +++ b/testbed/common/Box.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class Box diff --git a/testbed/common/Capsule.h b/testbed/common/Capsule.h index 289b0b9f..8df832d0 100644 --- a/testbed/common/Capsule.h +++ b/testbed/common/Capsule.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class Sphere diff --git a/testbed/common/ConcaveMesh.h b/testbed/common/ConcaveMesh.h index 9fdc3271..9dc25aa0 100644 --- a/testbed/common/ConcaveMesh.h +++ b/testbed/common/ConcaveMesh.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class ConcaveMesh diff --git a/testbed/common/ConvexMesh.h b/testbed/common/ConvexMesh.h index 0060ca5b..342b9a13 100644 --- a/testbed/common/ConvexMesh.h +++ b/testbed/common/ConvexMesh.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class ConvexMesh diff --git a/testbed/common/Dumbbell.h b/testbed/common/Dumbbell.h index 3c411a55..1b919663 100644 --- a/testbed/common/Dumbbell.h +++ b/testbed/common/Dumbbell.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class Dumbbell diff --git a/testbed/common/HeightField.h b/testbed/common/HeightField.h index c896a593..5c43cda1 100644 --- a/testbed/common/HeightField.h +++ b/testbed/common/HeightField.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" diff --git a/testbed/common/Line.h b/testbed/common/Line.h index 85872330..7c6f3eb8 100644 --- a/testbed/common/Line.h +++ b/testbed/common/Line.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include // Class Line class Line : public openglframework::Object3D { diff --git a/testbed/common/PhysicsObject.h b/testbed/common/PhysicsObject.h index 444e9962..b8cfd38d 100644 --- a/testbed/common/PhysicsObject.h +++ b/testbed/common/PhysicsObject.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include // Class PhysicsObject class PhysicsObject : public openglframework::Mesh { diff --git a/testbed/common/Sphere.h b/testbed/common/Sphere.h index 8cdfdd1e..ae49848e 100644 --- a/testbed/common/Sphere.h +++ b/testbed/common/Sphere.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Class Sphere diff --git a/testbed/scenes/collisiondetection/CollisionDetectionScene.cpp b/testbed/scenes/collisiondetection/CollisionDetectionScene.cpp index 6b1f54e0..88bda0d4 100644 --- a/testbed/scenes/collisiondetection/CollisionDetectionScene.cpp +++ b/testbed/scenes/collisiondetection/CollisionDetectionScene.cpp @@ -25,8 +25,8 @@ // Libraries #include "CollisionDetectionScene.h" -#include "constraint/ContactPoint.h" -#include "collision/ContactManifold.h" +#include +#include // Namespaces using namespace openglframework; diff --git a/testbed/scenes/collisiondetection/CollisionDetectionScene.h b/testbed/scenes/collisiondetection/CollisionDetectionScene.h index 27ab3419..613ddd33 100644 --- a/testbed/scenes/collisiondetection/CollisionDetectionScene.h +++ b/testbed/scenes/collisiondetection/CollisionDetectionScene.h @@ -29,7 +29,7 @@ // Libraries #include #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "SceneDemo.h" #include "Sphere.h" #include "Box.h" diff --git a/testbed/scenes/collisionshapes/CollisionShapesScene.h b/testbed/scenes/collisionshapes/CollisionShapesScene.h index 2b074a9e..0d2cabd6 100644 --- a/testbed/scenes/collisionshapes/CollisionShapesScene.h +++ b/testbed/scenes/collisionshapes/CollisionShapesScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "SceneDemo.h" #include "Sphere.h" #include "Box.h" diff --git a/testbed/scenes/concavemesh/ConcaveMeshScene.h b/testbed/scenes/concavemesh/ConcaveMeshScene.h index e3e450a3..8838b5d3 100644 --- a/testbed/scenes/concavemesh/ConcaveMeshScene.h +++ b/testbed/scenes/concavemesh/ConcaveMeshScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "Box.h" #include "SceneDemo.h" #include "ConcaveMesh.h" diff --git a/testbed/scenes/cubes/CubesScene.h b/testbed/scenes/cubes/CubesScene.h index dcd2a71a..9e7766ff 100755 --- a/testbed/scenes/cubes/CubesScene.h +++ b/testbed/scenes/cubes/CubesScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "Box.h" #include "SceneDemo.h" diff --git a/testbed/scenes/cubestack/CubeStackScene.h b/testbed/scenes/cubestack/CubeStackScene.h index 2bd25a70..2a0aa5d5 100644 --- a/testbed/scenes/cubestack/CubeStackScene.h +++ b/testbed/scenes/cubestack/CubeStackScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "Box.h" #include "SceneDemo.h" diff --git a/testbed/scenes/heightfield/HeightFieldScene.h b/testbed/scenes/heightfield/HeightFieldScene.h index c427f349..a5d95d86 100644 --- a/testbed/scenes/heightfield/HeightFieldScene.h +++ b/testbed/scenes/heightfield/HeightFieldScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "Box.h" #include "Sphere.h" #include "ConvexMesh.h" diff --git a/testbed/scenes/joints/JointsScene.h b/testbed/scenes/joints/JointsScene.h index c1567904..31a45a8c 100644 --- a/testbed/scenes/joints/JointsScene.h +++ b/testbed/scenes/joints/JointsScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "Box.h" #include "SceneDemo.h" diff --git a/testbed/scenes/pile/PileScene.h b/testbed/scenes/pile/PileScene.h index e85b747d..f32cf1d3 100644 --- a/testbed/scenes/pile/PileScene.h +++ b/testbed/scenes/pile/PileScene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "SceneDemo.h" #include "Sphere.h" #include "Box.h" diff --git a/testbed/scenes/raycast/RaycastScene.h b/testbed/scenes/raycast/RaycastScene.h index 6de17c45..b516fe63 100644 --- a/testbed/scenes/raycast/RaycastScene.h +++ b/testbed/scenes/raycast/RaycastScene.h @@ -30,7 +30,7 @@ #define _USE_MATH_DEFINES #include #include "openglframework.h" -#include "reactphysics3d.h" +#include #include "SceneDemo.h" #include "Sphere.h" #include "Box.h" diff --git a/testbed/src/Scene.h b/testbed/src/Scene.h index 775dd7b4..9ae7b203 100644 --- a/testbed/src/Scene.h +++ b/testbed/src/Scene.h @@ -28,7 +28,7 @@ // Libraries #include "openglframework.h" -#include "reactphysics3d.h" +#include // Structure ContactPoint struct SceneContactPoint { diff --git a/testbed/src/SceneDemo.cpp b/testbed/src/SceneDemo.cpp index b049f20f..5efced08 100644 --- a/testbed/src/SceneDemo.cpp +++ b/testbed/src/SceneDemo.cpp @@ -27,8 +27,8 @@ #include "SceneDemo.h" #include #include "AABB.h" -#include "constraint/ContactPoint.h" -#include "collision/ContactManifold.h" +#include +#include using namespace openglframework; diff --git a/testbed/src/SceneDemo.h b/testbed/src/SceneDemo.h index 1d36f6d1..1049c93e 100644 --- a/testbed/src/SceneDemo.h +++ b/testbed/src/SceneDemo.h @@ -29,7 +29,7 @@ // Libraries #include "Scene.h" #include "VisualContactPoint.h" -#include "reactphysics3d.h" +#include #include "PhysicsObject.h" // Constants diff --git a/testbed/src/Timer.h b/testbed/src/Timer.h index cddc7ca5..9983cd93 100644 --- a/testbed/src/Timer.h +++ b/testbed/src/Timer.h @@ -31,7 +31,7 @@ #include #include #include -#include "configuration.h" +#include #if defined(WINDOWS_OS) // For Windows platform #define NOMINMAX // This is used to avoid definition of max() and min() macros