From b38b0eca9f695eac72ec46d88e046ded879a05bc Mon Sep 17 00:00:00 2001 From: amasson Date: Mon, 20 May 2024 21:22:00 +0200 Subject: [PATCH] fix format --- Engine/Render/src/Render/Vulkan/RendererObjectManager.cpp | 6 +++--- .../src/Render/Vulkan/VulkanRenderableNode/MeshNode.cpp | 2 +- .../src/Render/Vulkan/VulkanRenderableNode/Shader.cpp | 6 +++--- .../src/Render/Vulkan/VulkanRenderableNode/Shader.hpp | 4 ++-- .../src/Render/Vulkan/VulkanRenderableNode/Texture.cpp | 2 +- Engine/Render/src/Render/Vulkan/VulkanRenderer.cpp | 1 - 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Engine/Render/src/Render/Vulkan/RendererObjectManager.cpp b/Engine/Render/src/Render/Vulkan/RendererObjectManager.cpp index cb1201a..e5960e2 100644 --- a/Engine/Render/src/Render/Vulkan/RendererObjectManager.cpp +++ b/Engine/Render/src/Render/Vulkan/RendererObjectManager.cpp @@ -2,14 +2,14 @@ #include "RendererObjectManager.hpp" -#include "Render/Vulkan/VulkanRenderer.hpp" #include "Device.hpp" +#include "Render/Vulkan/VulkanRenderer.hpp" #include "Scene/Node/MeshNode.hpp" -#include "Scene/RenderElement/Texture.hpp" #include "Scene/RenderElement/Shader.hpp" +#include "Scene/RenderElement/Texture.hpp" #include "VulkanRenderableNode/MeshNode.hpp" -#include "VulkanRenderableNode/Texture.hpp" #include "VulkanRenderableNode/Shader.hpp" +#include "VulkanRenderableNode/Texture.hpp" namespace Stone::Render::Vulkan { diff --git a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/MeshNode.cpp b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/MeshNode.cpp index 89d98eb..8f88171 100644 --- a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/MeshNode.cpp +++ b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/MeshNode.cpp @@ -6,6 +6,7 @@ #include "../RenderContext.hpp" #include "../RenderPass.hpp" #include "../SwapChain.hpp" +#include "Render/Vulkan/VulkanRenderer.hpp" #include "Scene/Node/MeshNode.hpp" #include "Scene/RenderContext.hpp" #include "Scene/RenderElement/Material.hpp" @@ -14,7 +15,6 @@ #include "Texture.hpp" #include "Utils/FileSystem.hpp" #include "VertexBinding.hpp" -#include "Render/Vulkan/VulkanRenderer.hpp" #include #include diff --git a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.cpp b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.cpp index 27008b5..0c1d8fb 100644 --- a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.cpp +++ b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.cpp @@ -5,15 +5,15 @@ namespace Stone::Render::Vulkan { Shader::Shader(const std::shared_ptr &shader, const std::shared_ptr &renderer) { - (void)shader; - (void)renderer; + (void)shader; + (void)renderer; } Shader::~Shader() { } void Shader::render(Scene::RenderContext &context) { - (void)context; + (void)context; } } // namespace Stone::Render::Vulkan diff --git a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.hpp b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.hpp index ec32188..f0a04fd 100644 --- a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.hpp +++ b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Shader.hpp @@ -17,9 +17,9 @@ class VulkanRenderer; class Shader : public Scene::IRendererObject { public: Shader(const std::shared_ptr &shader, const std::shared_ptr &renderer); - ~Shader() override; + ~Shader() override; - void render(Scene::RenderContext &context) override; + void render(Scene::RenderContext &context) override; }; } // namespace Stone::Render::Vulkan diff --git a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Texture.cpp b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Texture.cpp index 0d1bc16..bd98b7e 100644 --- a/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Texture.cpp +++ b/Engine/Render/src/Render/Vulkan/VulkanRenderableNode/Texture.cpp @@ -8,9 +8,9 @@ #include "../SwapChain.hpp" #include "Core/Image/ImageData.hpp" #include "Core/Image/ImageSource.hpp" +#include "Render/Vulkan/VulkanRenderer.hpp" #include "RenderableUtils.hpp" #include "Scene/RenderElement/Texture.hpp" -#include "Render/Vulkan/VulkanRenderer.hpp" #include diff --git a/Engine/Render/src/Render/Vulkan/VulkanRenderer.cpp b/Engine/Render/src/Render/Vulkan/VulkanRenderer.cpp index 75a3da5..37ab971 100644 --- a/Engine/Render/src/Render/Vulkan/VulkanRenderer.cpp +++ b/Engine/Render/src/Render/Vulkan/VulkanRenderer.cpp @@ -76,5 +76,4 @@ const std::shared_ptr &VulkanRenderer::getSwapChain() const { } - } // namespace Stone::Render::Vulkan