GenVertexNormalsProcess: use initalizer list instead of setting the earch angle in...
authorKim Kulling <kim.kulling@googlemail.com>
Thu, 7 Jan 2016 14:03:10 +0000 (15:03 +0100)
committerKim Kulling <kim.kulling@googlemail.com>
Thu, 7 Jan 2016 14:03:10 +0000 (15:03 +0100)
code/GenVertexNormalsProcess.cpp

index ee1b3bb..165c3f8 100644 (file)
@@ -56,14 +56,13 @@ using namespace Assimp;
 // ------------------------------------------------------------------------------------------------
 // Constructor to be privately used by Importer
 GenVertexNormalsProcess::GenVertexNormalsProcess()
-{
-    this->configMaxAngle = AI_DEG_TO_RAD(175.f);
+: configMaxAngle( AI_DEG_TO_RAD( 175.f ) ) {
+    // empty
 }
 
 // ------------------------------------------------------------------------------------------------
 // Destructor, private as well
-GenVertexNormalsProcess::~GenVertexNormalsProcess()
-{
+GenVertexNormalsProcess::~GenVertexNormalsProcess() {
     // nothing to do here
 }