Ogre Version: Ogre 1.13
Hi,
I'm trying to check if a vector3 is NaN, but it seems like the check doesn't work for me:
Code: Select all
if (EnemyPos.isNaN())
EnemyPos = Ogre::Vector3(0, 0, 0);
EnemyPos = Ogre::Vector3(0, 0, 0) is never evaluated, even with a (Ogre::VectorBase<3,float> = {x=-nan(ind) y=-nan(ind) z=-nan(ind)) value.
Do I miss something?
S.