2
0
Эх сурвалжийг харах

Fixed a few other cpp files that didn't include their own header first (#1119)

Jorrit Rouwe 1 жил өмнө
parent
commit
a981b43f03

+ 1 - 1
Jolt/Geometry/OrientedBox.cpp

@@ -4,8 +4,8 @@
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
 
 
-#include <Jolt/Geometry/AABox.h>
 #include <Jolt/Geometry/OrientedBox.h>
 #include <Jolt/Geometry/OrientedBox.h>
+#include <Jolt/Geometry/AABox.h>
 
 
 JPH_NAMESPACE_BEGIN
 JPH_NAMESPACE_BEGIN
 
 

+ 1 - 1
Jolt/ObjectStream/ObjectStreamIn.cpp

@@ -6,9 +6,9 @@
 
 
 #ifdef JPH_OBJECT_STREAM
 #ifdef JPH_OBJECT_STREAM
 
 
+#include <Jolt/ObjectStream/ObjectStreamIn.h>
 #include <Jolt/Core/Factory.h>
 #include <Jolt/Core/Factory.h>
 #include <Jolt/Core/UnorderedSet.h>
 #include <Jolt/Core/UnorderedSet.h>
-#include <Jolt/ObjectStream/ObjectStreamIn.h>
 #include <Jolt/ObjectStream/ObjectStreamTextIn.h>
 #include <Jolt/ObjectStream/ObjectStreamTextIn.h>
 #include <Jolt/ObjectStream/ObjectStreamBinaryIn.h>
 #include <Jolt/ObjectStream/ObjectStreamBinaryIn.h>
 #include <Jolt/ObjectStream/SerializableObject.h>
 #include <Jolt/ObjectStream/SerializableObject.h>

+ 1 - 1
Jolt/Physics/Body/BodyInterface.cpp

@@ -4,11 +4,11 @@
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
 
 
+#include <Jolt/Physics/Body/BodyInterface.h>
 #include <Jolt/Physics/Collision/BroadPhase/BroadPhase.h>
 #include <Jolt/Physics/Collision/BroadPhase/BroadPhase.h>
 #include <Jolt/Physics/Collision/CollisionCollectorImpl.h>
 #include <Jolt/Physics/Collision/CollisionCollectorImpl.h>
 #include <Jolt/Physics/Body/Body.h>
 #include <Jolt/Physics/Body/Body.h>
 #include <Jolt/Physics/Body/BodyManager.h>
 #include <Jolt/Physics/Body/BodyManager.h>
-#include <Jolt/Physics/Body/BodyInterface.h>
 #include <Jolt/Physics/Body/BodyCreationSettings.h>
 #include <Jolt/Physics/Body/BodyCreationSettings.h>
 #include <Jolt/Physics/Body/BodyLock.h>
 #include <Jolt/Physics/Body/BodyLock.h>
 #include <Jolt/Physics/Body/BodyLockMulti.h>
 #include <Jolt/Physics/Body/BodyLockMulti.h>

+ 1 - 1
Jolt/Physics/Body/BodyManager.cpp

@@ -4,8 +4,8 @@
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
 
 
-#include <Jolt/Physics/PhysicsSettings.h>
 #include <Jolt/Physics/Body/BodyManager.h>
 #include <Jolt/Physics/Body/BodyManager.h>
+#include <Jolt/Physics/PhysicsSettings.h>
 #include <Jolt/Physics/Body/BodyCreationSettings.h>
 #include <Jolt/Physics/Body/BodyCreationSettings.h>
 #include <Jolt/Physics/Body/BodyLock.h>
 #include <Jolt/Physics/Body/BodyLock.h>
 #include <Jolt/Physics/Body/BodyActivationListener.h>
 #include <Jolt/Physics/Body/BodyActivationListener.h>

+ 2 - 0
Jolt/Physics/Collision/BroadPhase/QuadTree.cpp

@@ -3,6 +3,8 @@
 // SPDX-License-Identifier: MIT
 // SPDX-License-Identifier: MIT
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
+
+#include <Jolt/Physics/Collision/BroadPhase/QuadTree.h>
 #include <Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h>
 #include <Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h>
 #include <Jolt/Physics/Collision/RayCast.h>
 #include <Jolt/Physics/Collision/RayCast.h>
 #include <Jolt/Physics/Collision/AABoxCast.h>
 #include <Jolt/Physics/Collision/AABoxCast.h>

+ 1 - 1
Jolt/Physics/Ragdoll/Ragdoll.cpp

@@ -4,8 +4,8 @@
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
 
 
-#include <Jolt/Physics/Constraints/SwingTwistConstraint.h>
 #include <Jolt/Physics/Ragdoll/Ragdoll.h>
 #include <Jolt/Physics/Ragdoll/Ragdoll.h>
+#include <Jolt/Physics/Constraints/SwingTwistConstraint.h>
 #include <Jolt/Physics/PhysicsSystem.h>
 #include <Jolt/Physics/PhysicsSystem.h>
 #include <Jolt/Physics/Body/BodyLockMulti.h>
 #include <Jolt/Physics/Body/BodyLockMulti.h>
 #include <Jolt/Physics/Collision/GroupFilterTable.h>
 #include <Jolt/Physics/Collision/GroupFilterTable.h>