Преглед изворни кода

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