Refactor where the headers are store for better installation of the library
This commit is contained in:
parent
7dde393fa5
commit
a190bba8c0
|
@ -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.
|
||||
|
|
222
CMakeLists.txt
222
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
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
|
@ -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})
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "engine/Entity.h"
|
||||
#include "collision/shapes/AABB.h"
|
||||
#include "mathematics/Transform.h"
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/collision/shapes/AABB.h>
|
||||
#include <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// Namespace reactphysics3d
|
||||
namespace reactphysics3d {
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "CollisionBody.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/body/CollisionBody.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
/// Namespace reactphysics3d
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/body/CollisionBody.h>
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
#include <reactphysics3d/engine/Material.h>
|
||||
#include <reactphysics3d/utils/Logger.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_COLLISION_CALLBACK_H
|
||||
|
||||
// Libraries
|
||||
#include "containers/List.h"
|
||||
#include "collision/ContactPair.h"
|
||||
#include "constraint/ContactPoint.h"
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
#include <reactphysics3d/collision/ContactPair.h>
|
||||
#include <reactphysics3d/constraint/ContactPoint.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_CONTACT_MANIFOLD_H
|
||||
|
||||
// Libraries
|
||||
#include "collision/Collider.h"
|
||||
#include <reactphysics3d/collision/Collider.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_CONTACT_MANIFOLD_INFO_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "configuration.h"
|
||||
#include "engine/OverlappingPairs.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/engine/OverlappingPairs.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_OVERLAPPING_PAIR_CONTACT_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "configuration.h"
|
||||
#include "engine/OverlappingPairs.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/engine/OverlappingPairs.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_CONTACT_POINT_INFO_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_HALF_EDGE_STRUCTURE_MESH_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_OVERLAP_CALLBACK_H
|
||||
|
||||
// Libraries
|
||||
#include "containers/List.h"
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_POLYGON_VERTEX_ARRAY_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <cassert>
|
||||
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_POLYHEDRON_MESH_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include "HalfEdgeStructure.h"
|
||||
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_RAYCAST_INFO_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/Vector3.h"
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "containers/List.h"
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_TRIANGLE_VERTEX_ARRAY_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_DYNAMIC_AABB_TREE_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "collision/shapes/AABB.h"
|
||||
#include "containers/Set.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/collision/shapes/AABB.h>
|
||||
#include <reactphysics3d/containers/Set.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_CAPSULE_VS_CAPSULE_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_CAPSULE_VS_CAPSULE_NARROW_PHASE_INFO_BATCH_H
|
||||
|
||||
// Libraries
|
||||
#include "collision/narrowphase/NarrowPhaseInfoBatch.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_CAPSULE_VS_CONVEX_POLYHEDRON_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/collision/narrowphase/SphereVsSphereAlgorithm.h>
|
||||
#include <reactphysics3d/collision/narrowphase/SphereVsConvexPolyhedronAlgorithm.h>
|
||||
#include <reactphysics3d/collision/narrowphase/SphereVsCapsuleAlgorithm.h>
|
||||
#include <reactphysics3d/collision/narrowphase/CapsuleVsCapsuleAlgorithm.h>
|
||||
#include <reactphysics3d/collision/narrowphase/CapsuleVsConvexPolyhedronAlgorithm.h>
|
||||
#include <reactphysics3d/collision/narrowphase/ConvexPolyhedronVsConvexPolyhedronAlgorithm.h>
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_CONVEX_POLYHEDRON_VS_CONVEX_POLYHEDRON_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_GJK_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "decimal.h"
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/decimal.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_VORONOI_SIMPLEX_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/Vector3.h"
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_NARROW_PHASE_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_NARROW_PHASE_INFO_BATCH_H
|
||||
|
||||
// Libraries
|
||||
#include "engine/OverlappingPairs.h"
|
||||
#include <reactphysics3d/engine/OverlappingPairs.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/containers/List.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>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_SAT_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "decimal.h"
|
||||
#include "collision/HalfEdgeStructure.h"
|
||||
#include <reactphysics3d/decimal.h>
|
||||
#include <reactphysics3d/collision/HalfEdgeStructure.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,7 @@
|
|||
#define REACTPHYSICS3D_SPHERE_VS_CAPSULE_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_SPHERE_VS_CAPSULE_NARROW_PHASE_INFO_BATCH_H
|
||||
|
||||
// Libraries
|
||||
#include "collision/narrowphase/NarrowPhaseInfoBatch.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_SPHERE_VS_CONVEX_POLYHEDRON_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_SPHERE_VS_SPHERE_ALGORITHM_H
|
||||
|
||||
// Libraries
|
||||
#include "NarrowPhaseAlgorithm.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseAlgorithm.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_SPHERE_VS_SPHERE_NARROW_PHASE_INFO_BATCH_H
|
||||
|
||||
// Libraries
|
||||
#include "collision/narrowphase/NarrowPhaseInfoBatch.h"
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseInfoBatch.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_AABB_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_BOX_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConvexPolyhedronShape.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/collision/shapes/ConvexPolyhedronShape.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_CAPSULE_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConvexShape.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/collision/shapes/ConvexShape.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -28,9 +28,9 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "configuration.h"
|
||||
#include "utils/Profiler.h"
|
||||
#include "containers/List.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/utils/Profiler.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_CONCAVE_MESH_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConcaveShape.h"
|
||||
#include "collision/broadphase/DynamicAABBTree.h"
|
||||
#include "containers/List.h"
|
||||
#include <reactphysics3d/collision/shapes/ConcaveShape.h>
|
||||
#include <reactphysics3d/collision/broadphase/DynamicAABBTree.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_CONCAVE_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "CollisionShape.h"
|
||||
#include "TriangleShape.h"
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
#include <reactphysics3d/collision/shapes/TriangleShape.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_CONVEX_MESH_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConvexPolyhedronShape.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "collision/PolyhedronMesh.h"
|
||||
#include <reactphysics3d/collision/shapes/ConvexPolyhedronShape.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/collision/PolyhedronMesh.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_CONVEX_POLYHEDRON_H
|
||||
|
||||
// Libraries
|
||||
#include "ConvexShape.h"
|
||||
#include "collision/HalfEdgeStructure.h"
|
||||
#include <reactphysics3d/collision/shapes/ConvexShape.h>
|
||||
#include <reactphysics3d/collision/HalfEdgeStructure.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_CONVEX_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "CollisionShape.h"
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_HEIGHTFIELD_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConcaveShape.h"
|
||||
#include "collision/shapes/AABB.h"
|
||||
#include <reactphysics3d/collision/shapes/ConcaveShape.h>
|
||||
#include <reactphysics3d/collision/shapes/AABB.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_SPHERE_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "ConvexShape.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/collision/shapes/ConvexShape.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_TRIANGLE_SHAPE_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "ConvexPolyhedronShape.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/collision/shapes/ConvexPolyhedronShape.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
#include <reactphysics3d/collision/shapes/AABB.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_COMPONENTS_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "engine/Entity.h"
|
||||
#include "containers/Map.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/mathematics/Matrix2x2.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/mathematics/Matrix2x2.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/components/Components.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -32,8 +32,8 @@
|
|||
#include <utility>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include "decimal.h"
|
||||
#include "containers/Pair.h"
|
||||
#include <reactphysics3d/decimal.h>
|
||||
#include <reactphysics3d/containers/Pair.h>
|
||||
|
||||
// Windows platform
|
||||
#if defined(WIN32) ||defined(_WIN32) || defined(_WIN64) ||defined(__WIN32__) || defined(__WINDOWS__)
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_BALL_AND_SOCKET_JOINT_H
|
||||
|
||||
// Libraries
|
||||
#include "Joint.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_CONTACT_POINT_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "collision/ContactPointInfo.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/collision/ContactPointInfo.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_FIXED_JOINT_H
|
||||
|
||||
// Libraries
|
||||
#include "Joint.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_HINGE_JOINT_H
|
||||
|
||||
// Libraries
|
||||
#include "Joint.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_CONSTRAINT_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "body/RigidBody.h"
|
||||
#include "mathematics/mathematics.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/body/RigidBody.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
|
||||
// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_SLIDER_JOINT_H
|
||||
|
||||
// Libraries
|
||||
#include "mathematics/mathematics.h"
|
||||
#include "body/RigidBody.h"
|
||||
#include "Joint.h"
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/body/RigidBody.h>
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_DEQUE_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_LINKED_LIST_H
|
||||
|
||||
// Libraries
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_LIST_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
|
@ -27,15 +27,14 @@
|
|||
#define REACTPHYSICS3D_MAP_H
|
||||
|
||||
// Libraries
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include "mathematics/mathematics_functions.h"
|
||||
#include "containers/Pair.h"
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <reactphysics3d/mathematics/mathematics_functions.h>
|
||||
#include <reactphysics3d/containers/Pair.h>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
||||
// Class Map
|
|
@ -27,9 +27,9 @@
|
|||
#define REACTPHYSICS3D_PAIR_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include "containers/containers_common.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <reactphysics3d/containers/containers_common.h>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_SET_H
|
||||
|
||||
// Libraries
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include "mathematics/mathematics_functions.h"
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <reactphysics3d/mathematics/mathematics_functions.h>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
#include <functional>
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
// Libraries
|
||||
#include <memory>
|
||||
#include "configuration.h"
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_ENTITY_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// Namespace reactphysics3d
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
#include <reactphysics3d/containers/Deque.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
|
||||
/// Namespace reactphysics3d
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_EVENT_LISTENER_H
|
||||
|
||||
// Libraries
|
||||
#include "collision/CollisionCallback.h"
|
||||
#include <reactphysics3d/collision/CollisionCallback.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_ISLAND_H
|
||||
|
||||
// Libraries
|
||||
#include "constraint/Joint.h"
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -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 <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
#include <reactphysics3d/engine/Entity.h>
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
namespace reactphysics3d {
|
||||
|
|
@ -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 <reactphysics3d/collision/Collider.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
#include <reactphysics3d/containers/Pair.h>
|
||||
#include <reactphysics3d/containers/Set.h>
|
||||
#include <reactphysics3d/containers/containers_common.h>
|
||||
#include <reactphysics3d/utils/Profiler.h>
|
||||
#include <reactphysics3d/components/ColliderComponents.h>
|
||||
#include <reactphysics3d/components/CollisionBodyComponents.h>
|
||||
#include <reactphysics3d/components/RigidBodyComponents.h>
|
||||
#include <cstddef>
|
||||
|
||||
/// ReactPhysics3D namespace
|
|
@ -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 <reactphysics3d/memory/MemoryManager.h>
|
||||
#include <reactphysics3d/engine/PhysicsWorld.h>
|
||||
#include <reactphysics3d/collision/shapes/SphereShape.h>
|
||||
#include <reactphysics3d/collision/shapes/BoxShape.h>
|
||||
#include <reactphysics3d/collision/shapes/CapsuleShape.h>
|
||||
#include <reactphysics3d/collision/shapes/HeightFieldShape.h>
|
||||
#include <reactphysics3d/collision/shapes/ConvexMeshShape.h>
|
||||
#include <reactphysics3d/collision/shapes/ConcaveMeshShape.h>
|
||||
#include <reactphysics3d/collision/TriangleMesh.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
#include <reactphysics3d/constraint/Joint.h>
|
||||
#include <reactphysics3d/memory/MemoryManager.h>
|
||||
#include <reactphysics3d/engine/EntityManager.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/configuration.h>
|
||||
#include <reactphysics3d/utils/Logger.h>
|
||||
#include <reactphysics3d/systems/ConstraintSolverSystem.h>
|
||||
#include <reactphysics3d/systems/CollisionDetectionSystem.h>
|
||||
#include <reactphysics3d/systems/ContactSolverSystem.h>
|
||||
#include <reactphysics3d/systems/DynamicsSystem.h>
|
||||
#include <reactphysics3d/engine/Islands.h>
|
||||
#include <sstream>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
|
@ -29,7 +29,7 @@
|
|||
// Libraries
|
||||
#include <ctime>
|
||||
#include <cassert>
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
#if defined(WINDOWS_OS) // For Windows platform
|
||||
#define NOMINMAX // This is used to avoid definition of max() and min() macros
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "Vector2.h"
|
||||
#include <reactphysics3d/mathematics/Vector2.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "Vector3.h"
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_QUATERNION_H
|
||||
|
||||
// Libraries
|
||||
#include "decimal.h"
|
||||
#include "Vector3.h"
|
||||
#include <reactphysics3d/decimal.h>
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_RAY_H
|
||||
|
||||
// Libraries
|
||||
#include "Vector3.h"
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_TRANSFORM_H
|
||||
|
||||
// Libraries
|
||||
#include "Vector3.h"
|
||||
#include "Quaternion.h"
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
#include <reactphysics3d/mathematics/Quaternion.h>
|
||||
|
||||
// ReactPhysiscs3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -28,9 +28,8 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "mathematics_functions.h"
|
||||
#include "decimal.h"
|
||||
|
||||
#include <reactphysics3d/mathematics/mathematics_functions.h>
|
||||
#include <reactphysics3d/decimal.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -28,9 +28,8 @@
|
|||
|
||||
// Libraries
|
||||
#include <cassert>
|
||||
#include "mathematics_functions.h"
|
||||
#include "decimal.h"
|
||||
|
||||
#include <reactphysics3d/mathematics/mathematics_functions.h>
|
||||
#include <reactphysics3d/decimal.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/mathematics/Matrix3x3.h>
|
||||
#include <reactphysics3d/mathematics/Matrix2x2.h>
|
||||
#include <reactphysics3d/mathematics/Quaternion.h>
|
||||
#include <reactphysics3d/mathematics/Vector3.h>
|
||||
#include <reactphysics3d/mathematics/Vector2.h>
|
||||
#include <reactphysics3d/mathematics/Transform.h>
|
||||
#include <reactphysics3d/mathematics/Ray.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/mathematics/mathematics_functions.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
|
@ -27,12 +27,12 @@
|
|||
#define REACTPHYSICS3D_MATHEMATICS_FUNCTIONS_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "decimal.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/decimal.h>
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include "containers/List.h"
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,7 +27,7 @@
|
|||
#define REACTPHYSICS3D_DEFAULT_ALLOCATOR_H
|
||||
|
||||
// Libraries
|
||||
#include "memory/MemoryAllocator.h"
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
|
@ -27,10 +27,10 @@
|
|||
#define REACTPHYSICS3D_HEAP_ALLOCATOR_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "MemoryAllocator.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <cassert>
|
||||
#include <containers/Map.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/memory/DefaultAllocator.h>
|
||||
#include <reactphysics3d/memory/PoolAllocator.h>
|
||||
#include <reactphysics3d/memory/HeapAllocator.h>
|
||||
#include <reactphysics3d/memory/SingleFrameAllocator.h>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_POOL_ALLOCATOR_H
|
||||
|
||||
// Libraries
|
||||
#include "configuration.h"
|
||||
#include "MemoryAllocator.h"
|
||||
#include <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -27,8 +27,8 @@
|
|||
#define REACTPHYSICS3D_SINGLE_FRAME_ALLOCATOR_H
|
||||
|
||||
// Libraries
|
||||
#include "MemoryAllocator.h"
|
||||
#include "configuration.h"
|
||||
#include <reactphysics3d/memory/MemoryAllocator.h>
|
||||
#include <reactphysics3d/configuration.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
|
@ -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 <reactphysics3d/configuration.h>
|
||||
#include <reactphysics3d/mathematics/mathematics.h>
|
||||
#include <reactphysics3d/body/CollisionBody.h>
|
||||
#include <reactphysics3d/body/RigidBody.h>
|
||||
#include <reactphysics3d/engine/PhysicsCommon.h>
|
||||
#include <reactphysics3d/engine/PhysicsWorld.h>
|
||||
#include <reactphysics3d/engine/Material.h>
|
||||
#include <reactphysics3d/engine/EventListener.h>
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
#include <reactphysics3d/collision/shapes/BoxShape.h>
|
||||
#include <reactphysics3d/collision/shapes/SphereShape.h>
|
||||
#include <reactphysics3d/collision/shapes/CapsuleShape.h>
|
||||
#include <reactphysics3d/collision/shapes/ConvexMeshShape.h>
|
||||
#include <reactphysics3d/collision/shapes/ConcaveMeshShape.h>
|
||||
#include <reactphysics3d/collision/shapes/HeightFieldShape.h>
|
||||
#include <reactphysics3d/collision/PolyhedronMesh.h>
|
||||
#include <reactphysics3d/collision/shapes/AABB.h>
|
||||
#include <reactphysics3d/collision/Collider.h>
|
||||
#include <reactphysics3d/collision/RaycastInfo.h>
|
||||
#include <reactphysics3d/collision/TriangleMesh.h>
|
||||
#include <reactphysics3d/collision/PolyhedronMesh.h>
|
||||
#include <reactphysics3d/collision/TriangleVertexArray.h>
|
||||
#include <reactphysics3d/collision/PolygonVertexArray.h>
|
||||
#include <reactphysics3d/collision/CollisionCallback.h>
|
||||
#include <reactphysics3d/collision/OverlapCallback.h>
|
||||
#include <reactphysics3d/constraint/BallAndSocketJoint.h>
|
||||
#include <reactphysics3d/constraint/SliderJoint.h>
|
||||
#include <reactphysics3d/constraint/HingeJoint.h>
|
||||
#include <reactphysics3d/constraint/FixedJoint.h>
|
||||
#include <reactphysics3d/containers/List.h>
|
||||
|
||||
/// Alias to the ReactPhysics3D namespace
|
||||
namespace rp3d = reactphysics3d;
|
|
@ -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 <reactphysics3d/collision/broadphase/DynamicAABBTree.h>
|
||||
#include <reactphysics3d/containers/LinkedList.h>
|
||||
#include <reactphysics3d/containers/Set.h>
|
||||
#include <reactphysics3d/components/ColliderComponents.h>
|
||||
#include <reactphysics3d/components/TransformComponents.h>
|
||||
#include <reactphysics3d/components/RigidBodyComponents.h>
|
||||
#include <cstring>
|
||||
|
||||
/// Namespace ReactPhysics3D
|
|
@ -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 <reactphysics3d/body/CollisionBody.h>
|
||||
#include <reactphysics3d/systems/BroadPhaseSystem.h>
|
||||
#include <reactphysics3d/collision/shapes/CollisionShape.h>
|
||||
#include <reactphysics3d/collision/ContactPointInfo.h>
|
||||
#include <reactphysics3d/constraint/ContactPoint.h>
|
||||
#include <reactphysics3d/collision/ContactManifoldInfo.h>
|
||||
#include <reactphysics3d/collision/ContactManifold.h>
|
||||
#include <reactphysics3d/collision/ContactPair.h>
|
||||
#include <reactphysics3d/engine/OverlappingPairs.h>
|
||||
#include <reactphysics3d/engine/OverlappingPairs.h>
|
||||
#include <reactphysics3d/collision/narrowphase/NarrowPhaseInput.h>
|
||||
#include <reactphysics3d/collision/narrowphase/CollisionDispatch.h>
|
||||
#include <reactphysics3d/containers/Map.h>
|
||||
#include <reactphysics3d/containers/Set.h>
|
||||
#include <reactphysics3d/components/ColliderComponents.h>
|
||||
#include <reactphysics3d/components/TransformComponents.h>
|
||||
|
||||
/// ReactPhysics3D namespace
|
||||
namespace reactphysics3d {
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user