BUGFIX: Fix compiler warning: wrong initialization order in initlist.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@517 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
9730eb6490
commit
07029ea363
|
@ -198,7 +198,7 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
|
|||
aiVector3D* pv = m->mVertices = new aiVector3D[m->mNumVertices = m->mNumFaces*4];
|
||||
|
||||
aiVector3D *uv( NULL );
|
||||
float step_y( 0.0f ),step_x( 0.0f );
|
||||
float step_y( 0.0f ), step_x( 0.0f );
|
||||
if (configComputeUVs) {
|
||||
uv = m->mTextureCoords[0] = new aiVector3D[m->mNumVertices];
|
||||
step_y = 1.f/y;
|
||||
|
|
Loading…
Reference in New Issue