GenVertexNormalsProcess: use initalizer list instead of setting the earch angle in the constructor.

pull/749/head
Kim Kulling 2016-01-07 15:03:10 +01:00
parent 346bf9375b
commit 7ef579674d
1 changed files with 3 additions and 4 deletions

View File

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