removed implicit cast warning.

This commit is contained in:
Marco Di Benedetto 2009-10-21 18:43:51 +00:00
parent 8dd2320a4d
commit 1994b5b493
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ static bool LoadMask(const char * filename, int &mask)
}
else if (header.compare("Ns")==0) // shininess
{
currentMaterial.Ns = atoi(tokens[1].c_str());
currentMaterial.Ns = float(atoi(tokens[1].c_str()));
}
else if (header.compare("illum")==0) // specular illumination on/off
{