From 120e5896ea95748e89b4e263306380ce0471f28e Mon Sep 17 00:00:00 2001 From: kwbm Date: Thu, 7 Apr 2022 09:41:20 +0800 Subject: [PATCH] Use header file instead of --- engine/source/runtime/core/math/matrix3.h | 2 +- engine/source/runtime/core/math/matrix4.h | 2 -- .../render/source/vulkan_manager/context/vulkan_context.cpp | 2 +- .../function/render/source/vulkan_manager/misc/upload.cpp | 2 +- .../render/source/vulkan_manager/ui_interface/editor.cpp | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/engine/source/runtime/core/math/matrix3.h b/engine/source/runtime/core/math/matrix3.h index 49da4b717..75a2a7fe6 100644 --- a/engine/source/runtime/core/math/matrix3.h +++ b/engine/source/runtime/core/math/matrix3.h @@ -4,7 +4,7 @@ #include "runtime/core/math/quaternion.h" #include "runtime/core/math/vector3.h" -#include +#include // NB All code adapted from Wild Magic 0.2 Matrix math (free source code) // http://www.geometrictools.com/ diff --git a/engine/source/runtime/core/math/matrix4.h b/engine/source/runtime/core/math/matrix4.h index 64ef5b9c8..7777a2625 100644 --- a/engine/source/runtime/core/math/matrix4.h +++ b/engine/source/runtime/core/math/matrix4.h @@ -6,8 +6,6 @@ #include "runtime/core/math/vector3.h" #include "runtime/core/math/vector4.h" -#include - namespace Pilot { /** Class encapsulating a standard 4x4 homogeneous matrix. diff --git a/engine/source/runtime/function/render/source/vulkan_manager/context/vulkan_context.cpp b/engine/source/runtime/function/render/source/vulkan_manager/context/vulkan_context.cpp index c42205e3c..5d5cb2201 100644 --- a/engine/source/runtime/function/render/source/vulkan_manager/context/vulkan_context.cpp +++ b/engine/source/runtime/function/render/source/vulkan_manager/context/vulkan_context.cpp @@ -68,7 +68,7 @@ #include #include #include -#include +#include #include void Pilot::PVulkanContext::initialize(GLFWwindow* window) diff --git a/engine/source/runtime/function/render/source/vulkan_manager/misc/upload.cpp b/engine/source/runtime/function/render/source/vulkan_manager/misc/upload.cpp index 95b6637f9..7c1035288 100644 --- a/engine/source/runtime/function/render/source/vulkan_manager/misc/upload.cpp +++ b/engine/source/runtime/function/render/source/vulkan_manager/misc/upload.cpp @@ -1,5 +1,5 @@ #include "runtime/function/render/include/render/vulkan_manager/vulkan_manager.h" -#include +#include void Pilot::PVulkanManager::updateMeshData(bool enable_vertex_blending, uint32_t index_buffer_size, diff --git a/engine/source/runtime/function/render/source/vulkan_manager/ui_interface/editor.cpp b/engine/source/runtime/function/render/source/vulkan_manager/ui_interface/editor.cpp index 39a175c77..34a23f347 100644 --- a/engine/source/runtime/function/render/source/vulkan_manager/ui_interface/editor.cpp +++ b/engine/source/runtime/function/render/source/vulkan_manager/ui_interface/editor.cpp @@ -4,7 +4,7 @@ #include -#include +#include namespace Pilot {