mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Replace isnan() reference with _isnan(). VS2010 didn't have it in std::cmath.
This commit is contained in:
@ -559,7 +559,7 @@ hsScalar plAnimTimeConvert::WorldToAnimTime(double wSecs)
|
||||
{
|
||||
float result = fmodf(secs - fLoopBegin, fLoopEnd - fLoopBegin) + fLoopBegin;
|
||||
// if fLoopBegin == fLoopEnd == 0, result will not be a number
|
||||
if (!isnan(result))
|
||||
if (!_isnan(result))
|
||||
{
|
||||
secs = result;
|
||||
wrapped = true;
|
||||
@ -583,7 +583,7 @@ hsScalar plAnimTimeConvert::WorldToAnimTime(double wSecs)
|
||||
{
|
||||
float result = fLoopEnd - fmodf(fLoopEnd - secs, fLoopEnd - fLoopBegin);
|
||||
// if fLoopBegin == fLoopEnd == 0, result will not be a number
|
||||
if (!isnan(result))
|
||||
if (!_isnan(result))
|
||||
{
|
||||
secs = result;
|
||||
wrapped = true;
|
||||
|
Reference in New Issue
Block a user