- make fast_atof_move a template and rename it to fast_atoreal_move.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1125 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2012-01-31 16:18:32 +00:00
parent 16a5bef3ba
commit c12fadc93b
23 changed files with 135 additions and 104 deletions

View File

@@ -1614,7 +1614,7 @@ void Parser::ParseLV4MeshBonesVertices(unsigned int iNumVertices,ASE::Mesh& mesh
// then parse the vertex weight
if (!SkipSpaces(&filePtr))break;
filePtr = fast_atof_move(filePtr,pairOut.second);
filePtr = fast_atoreal_move<float>(filePtr,pairOut.second);
// -1 marks unused entries
if (-1 != pairOut.first)
@@ -2131,7 +2131,7 @@ void Parser::ParseLV4MeshFloat(float& fOut)
return;
}
// parse the first float
filePtr = fast_atof_move(filePtr,fOut);
filePtr = fast_atoreal_move<float>(filePtr,fOut);
}
// ------------------------------------------------------------------------------------------------
void Parser::ParseLV4MeshLong(unsigned int& iOut)