d3dx9_36: D3DXQuaternionLn computes as if the norm of the input is 1

Matteo Bruni matteo.mystral at gmail.com
Tue Jun 12 16:21:03 CDT 2012


2012/6/12 Nozomi Kodama <nozomi.kodama at yahoo.com>:
>
> +    if ( (pq->w >= 1.0f) || (pq->w == -1.0f) )

I think the second comparison should be '<=', if you want to avoid getting NaNs.



More information about the wine-devel mailing list