Dylan Smith : d3dx9/tests: Added tests for D3DXCreateSkinInfo.
dank at kegel.com
Fri Jun 24 09:56:53 CDT 2011
- exp_weights = FP_NAN;
+ exp_weights = 0.0f / 0.0f;
It's a bit strange to see 0 being replaced with infinity. What is
your intent in that line?
FP_NAN probably isn't what you think it is.
On Fri, Jun 24, 2011 at 9:44 AM, Stefan Dösinger <stefandoesinger at
> I'd appreciate a portable solution for generating NaN and Inf values as well,
> I have the same problem with wined3d in visual studio.
libxml2 has a nifty function trio_nan() which wraps all the portable
ways of doing it. See e.g.
More information about the wine-devel