|
@@ -141,9 +141,6 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
|
|
|
throw DeadlyImportError( "TER: Magic string \'TERRAIN\' not found" );
|
|
|
|
|
|
unsigned int x = 0,y = 0,mode = 0;
|
|
|
- float rad = 6370.f;
|
|
|
- (void)rad;
|
|
|
-
|
|
|
|
|
|
aiNode* root = pScene->mRootNode = new aiNode();
|
|
|
root->mName.Set("<TERRAGEN.TERRAIN>");
|
|
@@ -187,7 +184,7 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
|
|
|
// mapping == 1: earth radius
|
|
|
else if (!::strncmp(head,AI_TERR_CHUNK_CRAD,4))
|
|
|
{
|
|
|
- rad = reader.GetF4();
|
|
|
+ reader.GetF4();
|
|
|
}
|
|
|
// mapping mode
|
|
|
else if (!::strncmp(head,AI_TERR_CHUNK_CRVM,4))
|