d3dx8: D3DXQuaternionRotationMatrix correct compare value for the trace.
Busquets Pérez Luis C.
luiscar2001 at yahoo.es
Sun Aug 24 04:50:04 CDT 2008
Currently the function D3DXQuaternionRotationMatrix evaluates the values
of the components of the vector from the "trace" whenever this is bigger
than 0. The literacy discourages this as the error can be very big if
trace is near 0. From the tests implemented in this patch, it comes out
that the value with whom trace is compared is 1.0f. Therefore, this
patch adds tests to verify the cases where trace is between 0.0 and 2.0
to ensure the expected result.
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.es
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8572 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080824/04cb3f86/attachment.bin
More information about the wine-patches