Explorar el Código

Refactoring: Code cleanup post-processing.

Kim Kulling hace 2 años
padre
commit
c537bd78d0

+ 1 - 3
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;

+ 1 - 1
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