浏览代码

Switched default include path from JOLT_PHYSICS_ROOT to PHYSICS_REPO_ROOT. (#106)

This means that all includes now need to be of the form #include <Jolt/...> which prevents a collision if a project also has for example a Math/Float4.h
Jorrit Rouwe 3 年之前
父节点
当前提交
06e9d17d38
共有 100 个文件被更改,包括 234 次插入234 次删除
  1. 3 3
      Build/CMakeLists.txt
  2. 2 2
      Build/README.md
  3. 10 10
      HelloWorld/HelloWorld.cpp
  4. 2 2
      Jolt/AABBTree/AABBTreeBuilder.cpp
  5. 3 3
      Jolt/AABBTree/AABBTreeBuilder.h
  6. 3 3
      Jolt/AABBTree/AABBTreeToBuffer.h
  7. 3 3
      Jolt/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h
  8. 1 1
      Jolt/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h
  9. 1 1
      Jolt/Core/AlignedAllocator.h
  10. 1 1
      Jolt/Core/ByteBuffer.h
  11. 2 2
      Jolt/Core/Color.cpp
  12. 1 1
      Jolt/Core/Core.h
  13. 1 1
      Jolt/Core/FPControlWord.h
  14. 1 1
      Jolt/Core/FPException.h
  15. 1 1
      Jolt/Core/FPFlushDenormals.h
  16. 2 2
      Jolt/Core/Factory.cpp
  17. 1 1
      Jolt/Core/Factory.h
  18. 4 4
      Jolt/Core/FixedSizeFreeList.h
  19. 1 1
      Jolt/Core/IssueReporting.cpp
  20. 6 6
      Jolt/Core/JobSystem.h
  21. 4 4
      Jolt/Core/JobSystemThreadPool.cpp
  22. 2 2
      Jolt/Core/JobSystemThreadPool.h
  23. 5 5
      Jolt/Core/LinearCurve.cpp
  24. 1 1
      Jolt/Core/LinearCurve.h
  25. 2 2
      Jolt/Core/LockFreeHashMap.h
  26. 2 2
      Jolt/Core/Memory.cpp
  27. 2 2
      Jolt/Core/Mutex.h
  28. 1 1
      Jolt/Core/MutexArray.h
  29. 4 4
      Jolt/Core/Profiler.cpp
  30. 2 2
      Jolt/Core/Profiler.h
  31. 3 3
      Jolt/Core/RTTI.cpp
  32. 2 2
      Jolt/Core/RTTI.h
  33. 2 2
      Jolt/Core/StreamWrapper.h
  34. 2 2
      Jolt/Core/StringTools.cpp
  35. 2 2
      Jolt/Core/TickCounter.cpp
  36. 4 4
      Jolt/Geometry/AABox.h
  37. 1 1
      Jolt/Geometry/AABox4.h
  38. 1 1
      Jolt/Geometry/ClipPoly.h
  39. 6 6
      Jolt/Geometry/ConvexHullBuilder.cpp
  40. 3 3
      Jolt/Geometry/ConvexHullBuilder.h
  41. 3 3
      Jolt/Geometry/ConvexHullBuilder2D.cpp
  42. 1 1
      Jolt/Geometry/ConvexHullBuilder2D.h
  43. 1 1
      Jolt/Geometry/ConvexSupport.h
  44. 3 3
      Jolt/Geometry/EPAConvexHullBuilder.h
  45. 4 4
      Jolt/Geometry/EPAPenetrationDepth.h
  46. 1 1
      Jolt/Geometry/Ellipse.h
  47. 6 6
      Jolt/Geometry/GJKClosestPoint.h
  48. 1 1
      Jolt/Geometry/IndexedTriangle.h
  49. 2 2
      Jolt/Geometry/Indexify.cpp
  50. 2 2
      Jolt/Geometry/Indexify.h
  51. 1 1
      Jolt/Geometry/MortonCode.h
  52. 3 3
      Jolt/Geometry/OrientedBox.cpp
  53. 4 4
      Jolt/Geometry/OrientedBox.h
  54. 2 2
      Jolt/Geometry/RayAABox8.h
  55. 2 2
      Jolt/Geometry/RayCapsule.h
  56. 1 1
      Jolt/Geometry/RayCylinder.h
  57. 1 1
      Jolt/Geometry/RaySphere.h
  58. 1 1
      Jolt/Geometry/RayTriangle8.h
  59. 1 1
      Jolt/Geometry/Sphere.h
  60. 3 3
      Jolt/Jolt.cmake
  61. 5 5
      Jolt/Jolt.h
  62. 1 1
      Jolt/Math/DVec3.h
  63. 1 1
      Jolt/Math/DVec3.inl
  64. 1 1
      Jolt/Math/EigenValueSymmetric.h
  65. 1 1
      Jolt/Math/Float3.h
  66. 1 1
      Jolt/Math/HalfFloat.h
  67. 1 1
      Jolt/Math/Mat44.h
  68. 3 3
      Jolt/Math/Mat44.inl
  69. 2 2
      Jolt/Math/Matrix.h
  70. 2 2
      Jolt/Math/Quat.h
  71. 1 1
      Jolt/Math/UVec4.cpp
  72. 1 1
      Jolt/Math/UVec4.h
  73. 1 1
      Jolt/Math/UVec8.h
  74. 2 2
      Jolt/Math/Vec3.cpp
  75. 3 3
      Jolt/Math/Vec3.h
  76. 3 3
      Jolt/Math/Vec3.inl
  77. 3 3
      Jolt/Math/Vec4.h
  78. 2 2
      Jolt/Math/Vec4.inl
  79. 1 1
      Jolt/Math/Vec8.h
  80. 1 1
      Jolt/Math/Vec8.inl
  81. 1 1
      Jolt/ObjectStream/GetPrimitiveTypeOfType.h
  82. 3 3
      Jolt/ObjectStream/ObjectStream.cpp
  83. 4 4
      Jolt/ObjectStream/ObjectStream.h
  84. 2 2
      Jolt/ObjectStream/ObjectStreamBinaryIn.cpp
  85. 1 1
      Jolt/ObjectStream/ObjectStreamBinaryIn.h
  86. 3 3
      Jolt/ObjectStream/ObjectStreamBinaryOut.cpp
  87. 1 1
      Jolt/ObjectStream/ObjectStreamBinaryOut.h
  88. 9 9
      Jolt/ObjectStream/ObjectStreamIn.cpp
  89. 4 4
      Jolt/ObjectStream/ObjectStreamIn.h
  90. 8 8
      Jolt/ObjectStream/ObjectStreamOut.cpp
  91. 3 3
      Jolt/ObjectStream/ObjectStreamOut.h
  92. 2 2
      Jolt/ObjectStream/ObjectStreamTextIn.cpp
  93. 1 1
      Jolt/ObjectStream/ObjectStreamTextIn.h
  94. 3 3
      Jolt/ObjectStream/ObjectStreamTextOut.cpp
  95. 1 1
      Jolt/ObjectStream/ObjectStreamTextOut.h
  96. 2 2
      Jolt/ObjectStream/SerializableAttribute.h
  97. 1 1
      Jolt/ObjectStream/SerializableAttributeEnum.h
  98. 2 2
      Jolt/ObjectStream/SerializableAttributeTyped.h
  99. 2 2
      Jolt/ObjectStream/SerializableObject.cpp
  100. 2 2
      Jolt/ObjectStream/SerializableObject.h

+ 3 - 3
Build/CMakeLists.txt

@@ -175,7 +175,7 @@ if (TARGET_UNIT_TESTS)
     # Create UnitTests executable
     # Create UnitTests executable
     include(${PHYSICS_REPO_ROOT}/UnitTests/UnitTests.cmake)
     include(${PHYSICS_REPO_ROOT}/UnitTests/UnitTests.cmake)
     add_executable(UnitTests ${UNIT_TESTS_SRC_FILES})
     add_executable(UnitTests ${UNIT_TESTS_SRC_FILES})
-    target_include_directories(UnitTests PUBLIC ${JOLT_PHYSICS_ROOT} ${UNIT_TESTS_ROOT})
+    target_include_directories(UnitTests PUBLIC ${UNIT_TESTS_ROOT})
     target_link_libraries (UnitTests LINK_PUBLIC Jolt)
     target_link_libraries (UnitTests LINK_PUBLIC Jolt)
     if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
     if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
         target_link_options(UnitTests PUBLIC "/SUBSYSTEM:CONSOLE")
         target_link_options(UnitTests PUBLIC "/SUBSYSTEM:CONSOLE")
@@ -199,7 +199,7 @@ if (TARGET_HELLO_WORLD)
 	# Example 'Hello World' application
 	# Example 'Hello World' application
 	include(${PHYSICS_REPO_ROOT}/HelloWorld/HelloWorld.cmake)
 	include(${PHYSICS_REPO_ROOT}/HelloWorld/HelloWorld.cmake)
 	add_executable(HelloWorld ${HELLO_WORLD_SRC_FILES})
 	add_executable(HelloWorld ${HELLO_WORLD_SRC_FILES})
-	target_include_directories(HelloWorld PUBLIC ${JOLT_PHYSICS_ROOT} ${HELLO_WORLD_ROOT})
+	target_include_directories(HelloWorld PUBLIC ${HELLO_WORLD_ROOT})
 	target_link_libraries (HelloWorld LINK_PUBLIC Jolt)
 	target_link_libraries (HelloWorld LINK_PUBLIC Jolt)
 	if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
 	if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
 		target_link_options(HelloWorld PUBLIC "/SUBSYSTEM:CONSOLE")
 		target_link_options(HelloWorld PUBLIC "/SUBSYSTEM:CONSOLE")
@@ -210,7 +210,7 @@ if (TARGET_PERFORMANCE_TEST)
 	# Performance Test application
 	# Performance Test application
 	include(${PHYSICS_REPO_ROOT}/PerformanceTest/PerformanceTest.cmake)
 	include(${PHYSICS_REPO_ROOT}/PerformanceTest/PerformanceTest.cmake)
 	add_executable(PerformanceTest ${PERFORMANCE_TEST_SRC_FILES})
 	add_executable(PerformanceTest ${PERFORMANCE_TEST_SRC_FILES})
-	target_include_directories(PerformanceTest PUBLIC ${JOLT_PHYSICS_ROOT} ${PERFORMANCE_TEST_ROOT})
+	target_include_directories(PerformanceTest PUBLIC ${PERFORMANCE_TEST_ROOT})
 	target_link_libraries (PerformanceTest LINK_PUBLIC Jolt)
 	target_link_libraries (PerformanceTest LINK_PUBLIC Jolt)
 	if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
 	if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
 		target_link_options(PerformanceTest PUBLIC "/SUBSYSTEM:CONSOLE")
 		target_link_options(PerformanceTest PUBLIC "/SUBSYSTEM:CONSOLE")

+ 2 - 2
Build/README.md

@@ -13,8 +13,8 @@ Each platform supports multiple build targets
 
 
 ## Includes
 ## Includes
 
 
-The Jolt headers don't include Jolt.h. Always include Jolt.h before including any other Jolt header.
-You can use Jolt.h in your precompiled header to speed up compilation.
+The Jolt headers don't include Jolt/Jolt.h. Always include Jolt/Jolt.h before including any other Jolt header.
+You can use Jolt/Jolt.h in your precompiled header to speed up compilation.
 
 
 ## Defines
 ## Defines
 
 

+ 10 - 10
HelloWorld/HelloWorld.cpp

@@ -3,18 +3,18 @@
 
 
 // The Jolt headers don't include Jolt.h. Always include Jolt.h before including any other Jolt header.
 // The Jolt headers don't include Jolt.h. Always include Jolt.h before including any other Jolt header.
 // You can use Jolt.h in your precompiled header to speed up compilation.
 // You can use Jolt.h in your precompiled header to speed up compilation.
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
 // Jolt includes
 // Jolt includes
-#include <RegisterTypes.h>
-#include <Core/TempAllocator.h>
-#include <Core/JobSystemThreadPool.h>
-#include <Physics/PhysicsSettings.h>
-#include <Physics/PhysicsSystem.h>
-#include <Physics/Collision/Shape/BoxShape.h>
-#include <Physics/Collision/Shape/SphereShape.h>
-#include <Physics/Body/BodyCreationSettings.h>
-#include <Physics/Body/BodyActivationListener.h>
+#include <Jolt/RegisterTypes.h>
+#include <Jolt/Core/TempAllocator.h>
+#include <Jolt/Core/JobSystemThreadPool.h>
+#include <Jolt/Physics/PhysicsSettings.h>
+#include <Jolt/Physics/PhysicsSystem.h>
+#include <Jolt/Physics/Collision/Shape/BoxShape.h>
+#include <Jolt/Physics/Collision/Shape/SphereShape.h>
+#include <Jolt/Physics/Body/BodyCreationSettings.h>
+#include <Jolt/Physics/Body/BodyActivationListener.h>
 
 
 // STL includes
 // STL includes
 #include <iostream>
 #include <iostream>

+ 2 - 2
Jolt/AABBTree/AABBTreeBuilder.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <AABBTree/AABBTreeBuilder.h>
+#include <Jolt/AABBTree/AABBTreeBuilder.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/AABBTree/AABBTreeBuilder.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <TriangleSplitter/TriangleSplitter.h>
-#include <Geometry/AABox.h>
-#include <Core/NonCopyable.h>
+#include <Jolt/TriangleSplitter/TriangleSplitter.h>
+#include <Jolt/Geometry/AABox.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/AABBTree/AABBTreeToBuffer.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <AABBTree/AABBTreeBuilder.h>
-#include <Core/ByteBuffer.h>
-#include <Geometry/IndexedTriangle.h>
+#include <Jolt/AABBTree/AABBTreeBuilder.h>
+#include <Jolt/Core/ByteBuffer.h>
+#include <Jolt/Geometry/IndexedTriangle.h>
 #include <deque>
 #include <deque>
 
 
 namespace JPH {
 namespace JPH {

+ 3 - 3
Jolt/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/ByteBuffer.h>
-#include <Math/HalfFloat.h>
-#include <AABBTree/AABBTreeBuilder.h>
+#include <Jolt/Core/ByteBuffer.h>
+#include <Jolt/Math/HalfFloat.h>
+#include <Jolt/AABBTree/AABBTreeBuilder.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/RayTriangle.h>
+#include <Jolt/Geometry/RayTriangle.h>
 #include <unordered_map>
 #include <unordered_map>
 
 
 namespace JPH {
 namespace JPH {

+ 1 - 1
Jolt/Core/AlignedAllocator.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/Memory.h>
+#include <Jolt/Core/Memory.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/ByteBuffer.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/AlignedAllocator.h>
+#include <Jolt/Core/AlignedAllocator.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Core/Color.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/Color.h>
+#include <Jolt/Core/Color.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/Core.h

@@ -132,7 +132,7 @@
 	// This file is not distributed because it would violate an NDA. 
 	// This file is not distributed because it would violate an NDA. 
 	// Creating one should only be a couple of minutes of work if you have the documentation for the platform 
 	// Creating one should only be a couple of minutes of work if you have the documentation for the platform 
 	// (you only need to define JPH_BREAKPOINT, JPH_PLATFORM_BLUE_GET_TICKS and JPH_PLATFORM_BLUE_GET_TICK_FREQUENCY and include the right header).
 	// (you only need to define JPH_BREAKPOINT, JPH_PLATFORM_BLUE_GET_TICKS and JPH_PLATFORM_BLUE_GET_TICK_FREQUENCY and include the right header).
-	#include <Core/PlatformBlue.h> 
+	#include <Jolt/Core/PlatformBlue.h> 
 #elif defined(JPH_PLATFORM_LINUX) || defined(JPH_PLATFORM_ANDROID) || defined(JPH_PLATFORM_MACOS) || defined(JPH_PLATFORM_IOS)
 #elif defined(JPH_PLATFORM_LINUX) || defined(JPH_PLATFORM_ANDROID) || defined(JPH_PLATFORM_MACOS) || defined(JPH_PLATFORM_IOS)
 	#include <float.h>
 	#include <float.h>
 	#include <limits.h>
 	#include <limits.h>

+ 1 - 1
Jolt/Core/FPControlWord.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/FPException.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/FPControlWord.h>
+#include <Jolt/Core/FPControlWord.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/FPFlushDenormals.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/FPControlWord.h>
+#include <Jolt/Core/FPControlWord.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Core/Factory.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/Factory.h>
+#include <Jolt/Core/Factory.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/Factory.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/RTTI.h>
+#include <Jolt/Core/RTTI.h>
 #include <unordered_map>
 #include <unordered_map>
 
 
 namespace JPH {
 namespace JPH {

+ 4 - 4
Jolt/Core/FixedSizeFreeList.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
-#include <Core/Mutex.h>
-#include <Core/Memory.h>
+#include <Jolt/Core/NonCopyable.h>
+#include <Jolt/Core/Mutex.h>
+#include <Jolt/Core/Memory.h>
 #include <atomic>
 #include <atomic>
 
 
 namespace JPH {
 namespace JPH {
@@ -121,4 +121,4 @@ public:
 
 
 } // JPH
 } // JPH
 
 
-#include <Core/FixedSizeFreeList.inl>
+#include "FixedSizeFreeList.inl"

+ 1 - 1
Jolt/Core/IssueReporting.cpp

@@ -1,7 +1,7 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 #include <fstream>
 #include <fstream>
 
 
 namespace JPH {
 namespace JPH {

+ 6 - 6
Jolt/Core/JobSystem.h

@@ -3,11 +3,11 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/Reference.h>
-#include <Core/Color.h>
-#include <Core/Profiler.h>
-#include <Core/NonCopyable.h>
-#include <Core/StaticArray.h>
+#include <Jolt/Core/Reference.h>
+#include <Jolt/Core/Color.h>
+#include <Jolt/Core/Profiler.h>
+#include <Jolt/Core/NonCopyable.h>
+#include <Jolt/Core/StaticArray.h>
 #include <atomic>
 #include <atomic>
 
 
 namespace JPH {
 namespace JPH {
@@ -252,4 +252,4 @@ using JobHandle = JobSystem::JobHandle;
 
 
 } // JPH
 } // JPH
 
 
-#include <Core/JobSystem.inl>
+#include "JobSystem.inl"

+ 4 - 4
Jolt/Core/JobSystemThreadPool.cpp

@@ -1,11 +1,11 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/JobSystemThreadPool.h>
-#include <Core/Profiler.h>
-#include <Core/FPException.h>
+#include <Jolt/Core/JobSystemThreadPool.h>
+#include <Jolt/Core/Profiler.h>
+#include <Jolt/Core/FPException.h>
 #include <algorithm>
 #include <algorithm>
 
 
 #ifdef JPH_PLATFORM_WINDOWS
 #ifdef JPH_PLATFORM_WINDOWS

+ 2 - 2
Jolt/Core/JobSystemThreadPool.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/JobSystem.h>
-#include <Core/FixedSizeFreeList.h>
+#include <Jolt/Core/JobSystem.h>
+#include <Jolt/Core/FixedSizeFreeList.h>
 #include <thread>
 #include <thread>
 #include <mutex>
 #include <mutex>
 #include <condition_variable>
 #include <condition_variable>

+ 5 - 5
Jolt/Core/LinearCurve.cpp

@@ -1,12 +1,12 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/LinearCurve.h>
-#include <Core/StreamIn.h>
-#include <Core/StreamOut.h>
-#include <ObjectStream/TypeDeclarations.h>
+#include <Jolt/Core/LinearCurve.h>
+#include <Jolt/Core/StreamIn.h>
+#include <Jolt/Core/StreamOut.h>
+#include <Jolt/ObjectStream/TypeDeclarations.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/LinearCurve.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/SerializableObject.h>
+#include <Jolt/ObjectStream/SerializableObject.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Core/LockFreeHashMap.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/NonCopyable.h>
 #include <atomic>
 #include <atomic>
 
 
 namespace JPH {
 namespace JPH {
@@ -177,4 +177,4 @@ private:
 
 
 } // JPH
 } // JPH
 
 
-#include <Core/LockFreeHashMap.inl>
+#include "LockFreeHashMap.inl"

+ 2 - 2
Jolt/Core/Memory.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/Memory.h>
+#include <Jolt/Core/Memory.h>
 #include <cstdlib>
 #include <cstdlib>
 #include <stdlib.h>
 #include <stdlib.h>
 
 

+ 2 - 2
Jolt/Core/Mutex.h

@@ -6,8 +6,8 @@
 #include <mutex>
 #include <mutex>
 #include <shared_mutex>
 #include <shared_mutex>
 #include <thread>
 #include <thread>
-#include <Core/Profiler.h>
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/Profiler.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Core/MutexArray.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 4 - 4
Jolt/Core/Profiler.cpp

@@ -1,11 +1,11 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/Profiler.h>
-#include <Core/Color.h>
-#include <Core/StringTools.h>
+#include <Jolt/Core/Profiler.h>
+#include <Jolt/Core/Color.h>
+#include <Jolt/Core/StringTools.h>
 #include <fstream>
 #include <fstream>
 
 
 #ifdef JPH_PROFILE_ENABLED
 #ifdef JPH_PROFILE_ENABLED

+ 2 - 2
Jolt/Core/Profiler.h

@@ -6,8 +6,8 @@
 #include <mutex>
 #include <mutex>
 #include <unordered_map>
 #include <unordered_map>
 
 
-#include <Core/NonCopyable.h>
-#include <Core/TickCounter.h>
+#include <Jolt/Core/NonCopyable.h>
+#include <Jolt/Core/TickCounter.h>
 
 
 #if defined(JPH_EXTERNAL_PROFILE)
 #if defined(JPH_EXTERNAL_PROFILE)
 
 

+ 3 - 3
Jolt/Core/RTTI.cpp

@@ -1,10 +1,10 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/RTTI.h>
-#include <Core/StringTools.h>
+#include <Jolt/Core/RTTI.h>
+#include <Jolt/Core/StringTools.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Core/RTTI.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/Reference.h>
-#include <Core/StaticArray.h>
+#include <Jolt/Core/Reference.h>
+#include <Jolt/Core/StaticArray.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Core/StreamWrapper.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/StreamIn.h>
-#include <Core/StreamOut.h>
+#include <Jolt/Core/StreamIn.h>
+#include <Jolt/Core/StreamOut.h>
 #include <ostream>
 #include <ostream>
 
 
 namespace JPH {
 namespace JPH {

+ 2 - 2
Jolt/Core/StringTools.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/StringTools.h>
+#include <Jolt/Core/StringTools.h>
 #include <cstdarg>
 #include <cstdarg>
 
 
 namespace JPH {
 namespace JPH {

+ 2 - 2
Jolt/Core/TickCounter.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Core/TickCounter.h>
+#include <Jolt/Core/TickCounter.h>
 
 
 #if defined(JPH_PLATFORM_WINDOWS)
 #if defined(JPH_PLATFORM_WINDOWS)
 	#pragma warning (push, 0)
 	#pragma warning (push, 0)

+ 4 - 4
Jolt/Geometry/AABox.h

@@ -3,10 +3,10 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/Triangle.h>
-#include <Geometry/IndexedTriangle.h>
-#include <Geometry/Plane.h>
-#include <Math/Mat44.h>
+#include <Jolt/Geometry/Triangle.h>
+#include <Jolt/Geometry/IndexedTriangle.h>
+#include <Jolt/Geometry/Plane.h>
+#include <Jolt/Math/Mat44.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/AABox4.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/OrientedBox.h>
+#include <Jolt/Geometry/OrientedBox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/ClipPoly.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/AABox.h>
+#include <Jolt/Geometry/AABox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 6 - 6
Jolt/Geometry/ConvexHullBuilder.cpp

@@ -1,17 +1,17 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Geometry/ConvexHullBuilder.h>
-#include <Geometry/ConvexHullBuilder2D.h>
-#include <Geometry/ClosestPoint.h>
-#include <Core/StringTools.h>
+#include <Jolt/Geometry/ConvexHullBuilder.h>
+#include <Jolt/Geometry/ConvexHullBuilder2D.h>
+#include <Jolt/Geometry/ClosestPoint.h>
+#include <Jolt/Core/StringTools.h>
 #include <unordered_set>
 #include <unordered_set>
 #include <fstream>
 #include <fstream>
 
 
 #ifdef JPH_CONVEX_BUILDER_DEBUG
 #ifdef JPH_CONVEX_BUILDER_DEBUG
-	#include <Renderer/DebugRenderer.h>
+	#include <Jolt/Renderer/DebugRenderer.h>
 #endif
 #endif
 
 
 namespace JPH {
 namespace JPH {

+ 3 - 3
Jolt/Geometry/ConvexHullBuilder.h

@@ -7,11 +7,11 @@
 //#define JPH_CONVEX_BUILDER_DUMP_SHAPE
 //#define JPH_CONVEX_BUILDER_DUMP_SHAPE
 
 
 #ifdef JPH_CONVEX_BUILDER_DEBUG
 #ifdef JPH_CONVEX_BUILDER_DEBUG
-	#include <Core/Color.h>
+	#include <Jolt/Core/Color.h>
 #endif
 #endif
 
 
-#include <Core/StaticArray.h>
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/StaticArray.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Geometry/ConvexHullBuilder2D.cpp

@@ -1,12 +1,12 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Geometry/ConvexHullBuilder2D.h>
+#include <Jolt/Geometry/ConvexHullBuilder2D.h>
 
 
 #ifdef JPH_CONVEX_BUILDER_2D_DEBUG
 #ifdef JPH_CONVEX_BUILDER_2D_DEBUG
-	#include <Renderer/DebugRenderer.h>
+	#include <Jolt/Renderer/DebugRenderer.h>
 #endif
 #endif
 
 
 namespace JPH {
 namespace JPH {

+ 1 - 1
Jolt/Geometry/ConvexHullBuilder2D.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 //#define JPH_CONVEX_BUILDER_2D_DEBUG
 //#define JPH_CONVEX_BUILDER_2D_DEBUG
 
 

+ 1 - 1
Jolt/Geometry/ConvexSupport.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Mat44.h>
+#include <Jolt/Math/Mat44.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Geometry/EPAConvexHullBuilder.h

@@ -9,11 +9,11 @@
 // Define to draw the building of the hull for debugging purposes
 // Define to draw the building of the hull for debugging purposes
 //#define JPH_EPA_CONVEX_BUILDER_DRAW
 //#define JPH_EPA_CONVEX_BUILDER_DRAW
 
 
-#include <Core/NonCopyable.h>
+#include <Jolt/Core/NonCopyable.h>
 
 
 #ifdef JPH_EPA_CONVEX_BUILDER_DRAW
 #ifdef JPH_EPA_CONVEX_BUILDER_DRAW
-	#include <Renderer/DebugRenderer.h>
-	#include <Core/StringTools.h>
+	#include <Jolt/Renderer/DebugRenderer.h>
+	#include <Jolt/Core/StringTools.h>
 #endif
 #endif
 
 
 namespace JPH {
 namespace JPH {

+ 4 - 4
Jolt/Geometry/EPAPenetrationDepth.h

@@ -3,10 +3,10 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/StaticArray.h>
-#include <Core/Profiler.h>
-#include <Geometry/GJKClosestPoint.h>
-#include <Geometry/EPAConvexHullBuilder.h>
+#include <Jolt/Core/StaticArray.h>
+#include <Jolt/Core/Profiler.h>
+#include <Jolt/Geometry/GJKClosestPoint.h>
+#include <Jolt/Geometry/EPAConvexHullBuilder.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/Ellipse.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Float2.h>
+#include <Jolt/Math/Float2.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 6 - 6
Jolt/Geometry/GJKClosestPoint.h

@@ -3,15 +3,15 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/NonCopyable.h>
-#include <Core/FPException.h>
-#include <Geometry/ClosestPoint.h>
-#include <Geometry/ConvexSupport.h>
+#include <Jolt/Core/NonCopyable.h>
+#include <Jolt/Core/FPException.h>
+#include <Jolt/Geometry/ClosestPoint.h>
+#include <Jolt/Geometry/ConvexSupport.h>
 
 
 //#define JPH_GJK_DEBUG
 //#define JPH_GJK_DEBUG
 #ifdef JPH_GJK_DEBUG
 #ifdef JPH_GJK_DEBUG
-	#include <Core/StringTools.h>
-	#include <Renderer/DebugRenderer.h>
+	#include <Jolt/Core/StringTools.h>
+	#include <Jolt/Renderer/DebugRenderer.h>
 #endif
 #endif
 
 
 namespace JPH {
 namespace JPH {

+ 1 - 1
Jolt/Geometry/IndexedTriangle.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/HashCombine.h>
+#include <Jolt/Core/HashCombine.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Geometry/Indexify.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Geometry/Indexify.h>
+#include <Jolt/Geometry/Indexify.h>
 #include <unordered_map>
 #include <unordered_map>
 
 
 namespace JPH {
 namespace JPH {

+ 2 - 2
Jolt/Geometry/Indexify.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/Triangle.h>
-#include <Geometry/IndexedTriangle.h>
+#include <Jolt/Geometry/Triangle.h>
+#include <Jolt/Geometry/IndexedTriangle.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/MortonCode.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/AABox.h>
+#include <Jolt/Geometry/AABox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Geometry/OrientedBox.cpp

@@ -1,10 +1,10 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Geometry/AABox.h>
-#include <Geometry/OrientedBox.h>
+#include <Jolt/Geometry/AABox.h>
+#include <Jolt/Geometry/OrientedBox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 4 - 4
Jolt/Geometry/OrientedBox.h

@@ -3,10 +3,10 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/Triangle.h>
-#include <Geometry/IndexedTriangle.h>
-#include <Geometry/AABox.h>
-#include <Math/Mat44.h>
+#include <Jolt/Geometry/Triangle.h>
+#include <Jolt/Geometry/IndexedTriangle.h>
+#include <Jolt/Geometry/AABox.h>
+#include <Jolt/Math/Mat44.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Geometry/RayAABox8.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec8.h>
-#include <Geometry/RayAABox.h>
+#include <Jolt/Math/Vec8.h>
+#include <Jolt/Geometry/RayAABox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Geometry/RayCapsule.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/RayCylinder.h>
-#include <Geometry/RaySphere.h>
+#include <Jolt/Geometry/RayCylinder.h>
+#include <Jolt/Geometry/RaySphere.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/RayCylinder.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/FindRoot.h>
+#include <Jolt/Math/FindRoot.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/RaySphere.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/FindRoot.h>
+#include <Jolt/Math/FindRoot.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/RayTriangle8.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec8.h>
+#include <Jolt/Math/Vec8.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Geometry/Sphere.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Geometry/AABox.h>
+#include <Jolt/Geometry/AABox.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Jolt.cmake

@@ -382,9 +382,9 @@ endif()
 
 
 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
 	# Enable Precompiled Headers for Jolt
 	# Enable Precompiled Headers for Jolt
-	set_source_files_properties(${JOLT_PHYSICS_SRC_FILES} PROPERTIES COMPILE_FLAGS "/YuJolt.h")
+	set_source_files_properties(${JOLT_PHYSICS_SRC_FILES} PROPERTIES COMPILE_FLAGS "/YuJolt/Jolt.h")
 	set(JOLT_PHYSICS_SRC_FILES ${JOLT_PHYSICS_SRC_FILES} ${JOLT_PHYSICS_ROOT}/pch.cpp)	
 	set(JOLT_PHYSICS_SRC_FILES ${JOLT_PHYSICS_SRC_FILES} ${JOLT_PHYSICS_ROOT}/pch.cpp)	
-	set_source_files_properties(${JOLT_PHYSICS_ROOT}/pch.cpp PROPERTIES COMPILE_FLAGS "/YcJolt.h")
+	set_source_files_properties(${JOLT_PHYSICS_ROOT}/pch.cpp PROPERTIES COMPILE_FLAGS "/YcJolt/Jolt.h")
 endif()
 endif()
 
 
 # Group source files
 # Group source files
@@ -392,7 +392,7 @@ source_group(TREE ${JOLT_PHYSICS_ROOT} FILES ${JOLT_PHYSICS_SRC_FILES})
 
 
 # Create Jolt lib
 # Create Jolt lib
 add_library(Jolt STATIC ${JOLT_PHYSICS_SRC_FILES})
 add_library(Jolt STATIC ${JOLT_PHYSICS_SRC_FILES})
-target_include_directories(Jolt PUBLIC ${JOLT_PHYSICS_ROOT})
+target_include_directories(Jolt PUBLIC ${PHYSICS_REPO_ROOT})
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Debug>:_DEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Debug>:_DEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Release>:NDEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Release>:NDEBUG;JPH_PROFILE_ENABLED;JPH_DEBUG_RENDERER>")
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Distribution>:NDEBUG>")
 target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Distribution>:NDEBUG>")

+ 5 - 5
Jolt/Jolt.h

@@ -4,8 +4,8 @@
 #pragma once
 #pragma once
 
 
 // Project includes
 // Project includes
-#include <Core/Core.h>
-#include <Core/IssueReporting.h>
-#include <Math/Math.h>
-#include <Math/Vec4.h>
-#include <Math/Mat44.h>
+#include <Jolt/Core/Core.h>
+#include <Jolt/Core/IssueReporting.h>
+#include <Jolt/Math/Math.h>
+#include <Jolt/Math/Vec4.h>
+#include <Jolt/Math/Mat44.h>

+ 1 - 1
Jolt/Math/DVec3.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Swizzle.h>
+#include <Jolt/Math/Swizzle.h>
 
 
 #ifdef JPH_USE_AVX2 // DVec3 currently uses AVX2 intrinsics but the class is currently unused so we can leave it out (it will be used in the future to support objects at a large distance from the origin)
 #ifdef JPH_USE_AVX2 // DVec3 currently uses AVX2 intrinsics but the class is currently unused so we can leave it out (it will be used in the future to support objects at a large distance from the origin)
 
 

+ 1 - 1
Jolt/Math/DVec3.inl

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/HashCombine.h>
+#include <Jolt/Core/HashCombine.h>
 
 
 // Create a std::hash for DVec3
 // Create a std::hash for DVec3
 JPH_MAKE_HASHABLE(JPH::DVec3, t.GetX(), t.GetY(), t.GetZ())
 JPH_MAKE_HASHABLE(JPH::DVec3, t.GetX(), t.GetY(), t.GetZ())

+ 1 - 1
Jolt/Math/EigenValueSymmetric.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/FPFlushDenormals.h>
+#include <Jolt/Core/FPFlushDenormals.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/Float3.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/HashCombine.h>
+#include <Jolt/Core/HashCombine.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/HalfFloat.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec4.h>
+#include <Jolt/Math/Vec4.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/Mat44.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/MathTypes.h>
+#include <Jolt/Math/MathTypes.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Math/Mat44.inl

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec3.h>
-#include <Math/Vec4.h>
-#include <Math/Quat.h>
+#include <Jolt/Math/Vec3.h>
+#include <Jolt/Math/Vec4.h>
+#include <Jolt/Math/Quat.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Math/Matrix.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vector.h>
-#include <Math/GaussianElimination.h>
+#include <Jolt/Math/Vector.h>
+#include <Jolt/Math/GaussianElimination.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Math/Quat.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec3.h>
-#include <Math/Vec4.h>
+#include <Jolt/Math/Vec3.h>
+#include <Jolt/Math/Vec4.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/UVec4.cpp

@@ -1,7 +1,7 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/UVec4.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec4.h>
+#include <Jolt/Math/Vec4.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/UVec8.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Vec8.h>
+#include <Jolt/Math/Vec8.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Math/Vec3.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <Math/Vec3.h>
+#include <Jolt/Math/Vec3.h>
 #include <unordered_set>
 #include <unordered_set>
 
 
 namespace JPH {
 namespace JPH {

+ 3 - 3
Jolt/Math/Vec3.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Float3.h>
-#include <Math/Swizzle.h>
-#include <Math/MathTypes.h>
+#include <Jolt/Math/Float3.h>
+#include <Jolt/Math/Swizzle.h>
+#include <Jolt/Math/MathTypes.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/Math/Vec3.inl

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Math/Vec4.h>
-#include <Math/UVec4.h>
-#include <Core/HashCombine.h>
+#include <Jolt/Math/Vec4.h>
+#include <Jolt/Math/UVec4.h>
+#include <Jolt/Core/HashCombine.h>
 #include <random>
 #include <random>
 
 
 // Create a std::hash for Vec3
 // Create a std::hash for Vec3

+ 3 - 3
Jolt/Math/Vec4.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/Float4.h>
-#include <Math/Swizzle.h>
-#include <Math/MathTypes.h>
+#include <Jolt/Math/Float4.h>
+#include <Jolt/Math/Swizzle.h>
+#include <Jolt/Math/MathTypes.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/Math/Vec4.inl

@@ -1,8 +1,8 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Math/Vec3.h>
-#include <Math/UVec4.h>
+#include <Jolt/Math/Vec3.h>
+#include <Jolt/Math/UVec4.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/Vec8.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Math/MathTypes.h>
+#include <Jolt/Math/MathTypes.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/Math/Vec8.inl

@@ -1,7 +1,7 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Math/UVec8.h>
+#include <Jolt/Math/UVec8.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/GetPrimitiveTypeOfType.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/RTTI.h>
+#include <Jolt/Core/RTTI.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/ObjectStream/ObjectStream.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStream.h>
+#include <Jolt/ObjectStream/ObjectStream.h>
 
 
 namespace JPH {
 namespace JPH {
 
 
@@ -15,6 +15,6 @@ namespace JPH {
 	}
 	}
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 } // JPH
 } // JPH

+ 4 - 4
Jolt/ObjectStream/ObjectStream.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <Core/StaticArray.h>
-#include <Core/Reference.h>
+#include <Jolt/Core/StaticArray.h>
+#include <Jolt/Core/Reference.h>
 
 
 namespace JPH {
 namespace JPH {
 
 
@@ -33,7 +33,7 @@ public:
 		#define JPH_DECLARE_PRIMITIVE(name)	T_##name,
 		#define JPH_DECLARE_PRIMITIVE(name)	T_##name,
 
 
 		// This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 		// This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-		#include <ObjectStream/ObjectStreamTypes.h>
+		#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 		// Error values for read functions
 		// Error values for read functions
 		Invalid,																		///< Next token on the stream was not a valid data type
 		Invalid,																		///< Next token on the stream was not a valid data type
@@ -56,7 +56,7 @@ protected:
 	bool						OSIsType(name *inNull, int inArrayDepth, ObjectStream::EDataType inDataType, const char *inClassName);
 	bool						OSIsType(name *inNull, int inArrayDepth, ObjectStream::EDataType inDataType, const char *inClassName);
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 // Define serialization templates
 // Define serialization templates
 template <class T>
 template <class T>

+ 2 - 2
Jolt/ObjectStream/ObjectStreamBinaryIn.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStreamBinaryIn.h>
+#include <Jolt/ObjectStream/ObjectStreamBinaryIn.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/ObjectStreamBinaryIn.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStreamIn.h>
+#include <Jolt/ObjectStream/ObjectStreamIn.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/ObjectStream/ObjectStreamBinaryOut.cpp

@@ -1,10 +1,10 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStreamBinaryOut.h>
-#include <Core/StringTools.h>
+#include <Jolt/ObjectStream/ObjectStreamBinaryOut.h>
+#include <Jolt/Core/StringTools.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/ObjectStreamBinaryOut.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStreamOut.h>
+#include <Jolt/ObjectStream/ObjectStreamOut.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 9 - 9
Jolt/ObjectStream/ObjectStreamIn.cpp

@@ -1,14 +1,14 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
-
-#include <Core/Factory.h>
-#include <ObjectStream/SerializableAttribute.h>
-#include <ObjectStream/ObjectStreamIn.h>
-#include <ObjectStream/ObjectStreamTextIn.h>
-#include <ObjectStream/ObjectStreamBinaryIn.h>
-#include <ObjectStream/SerializableObject.h>
+#include <Jolt/Jolt.h>
+
+#include <Jolt/Core/Factory.h>
+#include <Jolt/ObjectStream/SerializableAttribute.h>
+#include <Jolt/ObjectStream/ObjectStreamIn.h>
+#include <Jolt/ObjectStream/ObjectStreamTextIn.h>
+#include <Jolt/ObjectStream/ObjectStreamBinaryIn.h>
+#include <Jolt/ObjectStream/SerializableObject.h>
 #include <unordered_set>
 #include <unordered_set>
 
 
 namespace JPH {
 namespace JPH {
@@ -562,6 +562,6 @@ bool ObjectStreamIn::SkipAttributeData(int inArrayDepth, EDataType inDataType, c
 	}
 	}
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 } // JPH
 } // JPH

+ 4 - 4
Jolt/ObjectStream/ObjectStreamIn.h

@@ -3,9 +3,9 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStream.h>
-#include <Core/Reference.h>
-#include <Core/RTTI.h>
+#include <Jolt/ObjectStream/ObjectStream.h>
+#include <Jolt/Core/Reference.h>
+#include <Jolt/Core/RTTI.h>
 #include <fstream>
 #include <fstream>
 #include <unordered_map>
 #include <unordered_map>
 
 
@@ -163,7 +163,7 @@ private:
 	bool	OSReadData(ObjectStreamIn &ioStream, name &outPrimitive);
 	bool	OSReadData(ObjectStreamIn &ioStream, name &outPrimitive);
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 /// Define serialization templates for dynamic arrays
 /// Define serialization templates for dynamic arrays
 template <class T>
 template <class T>

+ 8 - 8
Jolt/ObjectStream/ObjectStreamOut.cpp

@@ -1,13 +1,13 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStreamOut.h>
-#include <ObjectStream/ObjectStreamTextOut.h>
-#include <ObjectStream/ObjectStreamBinaryOut.h>
-#include <ObjectStream/SerializableAttribute.h>
-#include <ObjectStream/TypeDeclarations.h>
+#include <Jolt/ObjectStream/ObjectStreamOut.h>
+#include <Jolt/ObjectStream/ObjectStreamTextOut.h>
+#include <Jolt/ObjectStream/ObjectStreamBinaryOut.h>
+#include <Jolt/ObjectStream/SerializableAttribute.h>
+#include <Jolt/ObjectStream/TypeDeclarations.h>
 
 
 namespace JPH {
 namespace JPH {
 
 
@@ -17,7 +17,7 @@ ObjectStreamOut::ObjectStreamOut(ostream &inStream) :
 {
 {
 // Add all primitives to the class set
 // Add all primitives to the class set
 #define JPH_DECLARE_PRIMITIVE(name)	mClassSet.insert(JPH_RTTI(name));
 #define JPH_DECLARE_PRIMITIVE(name)	mClassSet.insert(JPH_RTTI(name));
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 }
 }
 
 
 ObjectStreamOut *ObjectStreamOut::Open(EStreamType inType, ostream &inStream)
 ObjectStreamOut *ObjectStreamOut::Open(EStreamType inType, ostream &inStream)
@@ -179,6 +179,6 @@ void ObjectStreamOut::WritePointerData(const RTTI *inRTTI, const void *inPointer
 	}
 	}
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 } // JPH
 } // JPH

+ 3 - 3
Jolt/ObjectStream/ObjectStreamOut.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStream.h>
-#include <Core/RTTI.h>
+#include <Jolt/ObjectStream/ObjectStream.h>
+#include <Jolt/Core/RTTI.h>
 #include <queue>
 #include <queue>
 #include <fstream>
 #include <fstream>
 #include <unordered_set>
 #include <unordered_set>
@@ -122,7 +122,7 @@ private:
 	void	OSWriteData(ObjectStreamOut &ioStream, const name &inPrimitive);
 	void	OSWriteData(ObjectStreamOut &ioStream, const name &inPrimitive);
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 // Define serialization templates for dynamic arrays
 // Define serialization templates for dynamic arrays
 template <class T>
 template <class T>

+ 2 - 2
Jolt/ObjectStream/ObjectStreamTextIn.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStreamTextIn.h>
+#include <Jolt/ObjectStream/ObjectStreamTextIn.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/ObjectStreamTextIn.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStreamIn.h>
+#include <Jolt/ObjectStream/ObjectStreamIn.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 3 - 3
Jolt/ObjectStream/ObjectStreamTextOut.cpp

@@ -1,10 +1,10 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/ObjectStreamTextOut.h>
-#include <Core/StringTools.h>
+#include <Jolt/ObjectStream/ObjectStreamTextOut.h>
+#include <Jolt/Core/StringTools.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/ObjectStreamTextOut.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStreamOut.h>
+#include <Jolt/ObjectStream/ObjectStreamOut.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/ObjectStream/SerializableAttribute.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/ObjectStreamIn.h>
-#include <ObjectStream/ObjectStreamOut.h>
+#include <Jolt/ObjectStream/ObjectStreamIn.h>
+#include <Jolt/ObjectStream/ObjectStreamOut.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 1 - 1
Jolt/ObjectStream/SerializableAttributeEnum.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/SerializableAttribute.h>
+#include <Jolt/ObjectStream/SerializableAttribute.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/ObjectStream/SerializableAttributeTyped.h

@@ -3,8 +3,8 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/SerializableAttribute.h>
-#include <ObjectStream/GetPrimitiveTypeOfType.h>
+#include <Jolt/ObjectStream/SerializableAttribute.h>
+#include <Jolt/ObjectStream/GetPrimitiveTypeOfType.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/ObjectStream/SerializableObject.cpp

@@ -1,9 +1,9 @@
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
-#include <Jolt.h>
+#include <Jolt/Jolt.h>
 
 
-#include <ObjectStream/SerializableObject.h>
+#include <Jolt/ObjectStream/SerializableObject.h>
 
 
 namespace JPH {
 namespace JPH {
 
 

+ 2 - 2
Jolt/ObjectStream/SerializableObject.h

@@ -3,7 +3,7 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <ObjectStream/SerializableAttribute.h>
+#include <Jolt/ObjectStream/SerializableAttribute.h>
 
 
 namespace JPH {
 namespace JPH {
 
 
@@ -164,7 +164,7 @@ void OSVisitCompounds(const void *inObject, const RTTI *inRTTI, const CompoundVi
 	inline void OSVisitCompounds(const name &inObject, const CompoundVisitor &inVisitor) { }
 	inline void OSVisitCompounds(const name &inObject, const CompoundVisitor &inVisitor) { }
 
 
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
 // This file uses the JPH_DECLARE_PRIMITIVE macro to define all types
-#include <ObjectStream/ObjectStreamTypes.h>
+#include <Jolt/ObjectStream/ObjectStreamTypes.h>
 
 
 /// Define visitor templates
 /// Define visitor templates
 template <class T>
 template <class T>

部分文件因为文件数量过多而无法显示