|
@@ -198,7 +198,7 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
|
|
aiVector3D* pv = m->mVertices = new aiVector3D[m->mNumVertices = m->mNumFaces*4];
|
|
aiVector3D* pv = m->mVertices = new aiVector3D[m->mNumVertices = m->mNumFaces*4];
|
|
|
|
|
|
aiVector3D *uv( NULL );
|
|
aiVector3D *uv( NULL );
|
|
- float step_y( 0.0f ),step_x( 0.0f );
|
|
|
|
|
|
+ float step_y( 0.0f ), step_x( 0.0f );
|
|
if (configComputeUVs) {
|
|
if (configComputeUVs) {
|
|
uv = m->mTextureCoords[0] = new aiVector3D[m->mNumVertices];
|
|
uv = m->mTextureCoords[0] = new aiVector3D[m->mNumVertices];
|
|
step_y = 1.f/y;
|
|
step_y = 1.f/y;
|