Added inline to float convertComponent(,)

This commit is contained in:
Robert Osfield
2005-04-12 08:59:33 +00:00
parent 25f738a8ee
commit 9c55486746

View File

@@ -136,7 +136,7 @@ bool HDRLoader::load(const char *_fileName, HDRLoaderResult &_res)
return true;
}
float convertComponent(int _expo, int _val)
inline float convertComponent(int _expo, int _val)
{
return ldexp( (float)_val / 256.0f, _expo);
}