From ffad0536f182dcb9bec5991ecb514668796abe62 Mon Sep 17 00:00:00 2001 From: doodlum Date: Sat, 14 Dec 2024 18:28:58 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20apply=20clang-format=20?= =?UTF-8?q?changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Features/LightLimitFix.h | 2 +- src/Raytracing.cpp | 3 +-- src/Raytracing.h | 4 ++-- src/XSEPlugin.cpp | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Features/LightLimitFix.h b/src/Features/LightLimitFix.h index 7bf979df9..140f43e23 100644 --- a/src/Features/LightLimitFix.h +++ b/src/Features/LightLimitFix.h @@ -7,9 +7,9 @@ #include #include "Feature.h" +#include "Raytracing.h" #include "ShaderCache.h" #include -#include "Raytracing.h" struct LightLimitFix : Feature { diff --git a/src/Raytracing.cpp b/src/Raytracing.cpp index 2ce0b2d63..29ef8f918 100644 --- a/src/Raytracing.cpp +++ b/src/Raytracing.cpp @@ -80,8 +80,7 @@ void Raytracing::UpdateGeometry(RE::BSGeometry* a_geometry) void Raytracing::RemoveGeometry(RE::BSGeometry* a_geometry) { - if (geometries.erase(a_geometry)) - { + if (geometries.erase(a_geometry)) { // Remove Event } } diff --git a/src/Raytracing.h b/src/Raytracing.h index 55ecc3e0d..464663a54 100644 --- a/src/Raytracing.h +++ b/src/Raytracing.h @@ -1,7 +1,7 @@ #pragma once -#include #include +#include #include @@ -70,7 +70,7 @@ class Raytracing { stl::write_vfunc<0x6, BSLightingShader_SetupGeometry>(RE::VTABLE_BSLightingShader[0]); - // stl::detour_thunk(REL::RelocationID(68937, 70288)); + // stl::detour_thunk(REL::RelocationID(68937, 70288)); logger::info("[Raytracing] Installed hooks"); } diff --git a/src/XSEPlugin.cpp b/src/XSEPlugin.cpp index 02afee654..f0da0b1f3 100644 --- a/src/XSEPlugin.cpp +++ b/src/XSEPlugin.cpp @@ -4,11 +4,11 @@ #include "Feature.h" #include "FrameAnnotations.h" #include "Menu.h" +#include "Raytracing.h" #include "ShaderCache.h" #include "State.h" #include "TruePBR.h" #include "Upscaling.h" -#include "Raytracing.h" #include "ENB/ENBSeriesAPI.h"