瀏覽代碼

Fixed missing ObjectLayer.h include

Also ensured that Character.cpp includes its own header first
Roge Clement 1 年之前
父節點
當前提交
e881d4baa2
共有 2 個文件被更改,包括 2 次插入1 次删除
  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/Physics/Character/Character.h>
 #include <Jolt/Physics/Body/BodyCreationSettings.h>
 #include <Jolt/Physics/Body/BodyLock.h>
 #include <Jolt/Physics/Collision/CollideShape.h>
-#include <Jolt/Physics/Character/Character.h>
 #include <Jolt/Physics/PhysicsSystem.h>
 #include <Jolt/ObjectStream/TypeDeclarations.h>
 

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

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