From c537bd78d0f3c80d0048845a427adc2dd3b1f2c7 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 14 Mar 2023 23:39:36 +0100 Subject: [PATCH] Refactoring: Code cleanup post-processing. --- code/PostProcessing/CalcTangentsProcess.h | 4 +--- code/PostProcessing/SplitByBoneCountProcess.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/code/PostProcessing/CalcTangentsProcess.h b/code/PostProcessing/CalcTangentsProcess.h index 94be99cd6..aaccb5307 100644 --- a/code/PostProcessing/CalcTangentsProcess.h +++ b/code/PostProcessing/CalcTangentsProcess.h @@ -86,7 +86,6 @@ public: } protected: - // ------------------------------------------------------------------- /** Calculates tangents and bitangents for a specific mesh. * @param pMesh The mesh to process. @@ -98,10 +97,9 @@ protected: /** Executes the post processing step on the given imported data. * @param pScene The imported data to work at. */ - void Execute( aiScene* pScene); + void Execute( aiScene* pScene) override; private: - /** Configuration option: maximum smoothing angle, in radians*/ float configMaxAngle; unsigned int configSourceUV; diff --git a/code/PostProcessing/SplitByBoneCountProcess.h b/code/PostProcessing/SplitByBoneCountProcess.h index 270e00c49..98ca6a61e 100644 --- a/code/PostProcessing/SplitByBoneCountProcess.h +++ b/code/PostProcessing/SplitByBoneCountProcess.h @@ -70,7 +70,7 @@ public: /// @param pFlags The processing flags the importer was called with. A /// bitwise combination of #aiPostProcessSteps. /// @return true if the process is present in this flag fields, false if not. - bool IsActive( unsigned int pFlags) const; + bool IsActive( unsigned int pFlags) const override; /// @brief Called prior to ExecuteOnScene(). /// The function is a request to the process to update its configuration