GenVertexNormalsProcess: use initalizer list instead of setting the earch angle in the constructor.
parent
346bf9375b
commit
7ef579674d
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue