fix namespacing issue

This commit is contained in:
DarthArgus
2016-07-14 00:27:40 +00:00
parent 5bd85cf54d
commit 299dd9bf16
4 changed files with 8 additions and 8 deletions
@@ -46,7 +46,7 @@ inline void get(ReadIterator & source, Quaternion & target)
#ifdef _WIN32
if (_isnan(static_cast<double>(target.w)) || _isnan(static_cast<double>(target.x)) || _isnan(static_cast<double>(target.y)) || _isnan(static_cast<double>(target.z)))
#else
if (isnan(target.w) || isnan(target.x) || isnan(target.y) || isnan(target.z))
if (std::isnan(target.w) || std::isnan(target.x) || std::isnan(target.y) || std::isnan(target.z))
#endif
{
target.w = 1.0f;