Browse Source

Fixed missing ObjectLayer.h include

Also ensured that Character.cpp includes its own header first
Roge Clement 1 year ago
parent
commit
e881d4baa2
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Jolt/Physics/Character/Character.cpp
  2. 1 0
      Jolt/Physics/Character/Character.h

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

@@ -4,10 +4,10 @@
 
 
 #include <Jolt/Jolt.h>
 #include <Jolt/Jolt.h>
 
 
+#include <Jolt/Physics/Character/Character.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/Collision/CollideShape.h>
 #include <Jolt/Physics/Collision/CollideShape.h>
-#include <Jolt/Physics/Character/Character.h>
 #include <Jolt/Physics/PhysicsSystem.h>
 #include <Jolt/Physics/PhysicsSystem.h>
 #include <Jolt/ObjectStream/TypeDeclarations.h>
 #include <Jolt/ObjectStream/TypeDeclarations.h>
 
 

+ 1 - 0
Jolt/Physics/Character/Character.h

@@ -5,6 +5,7 @@
 #pragma once
 #pragma once
 
 
 #include <Jolt/Physics/Character/CharacterBase.h>
 #include <Jolt/Physics/Character/CharacterBase.h>
+#include <Jolt/Physics/Collision/ObjectLayer.h>
 #include <Jolt/Physics/EActivation.h>
 #include <Jolt/Physics/EActivation.h>
 
 
 JPH_NAMESPACE_BEGIN
 JPH_NAMESPACE_BEGIN