d3dx9_36: Implement D3DXSHRotate

Henri Verbeet hverbeet at gmail.com
Mon Sep 3 05:44:31 CDT 2012

On 3 September 2012 12:02, Rico Schüller <kgbricola at web.de> wrote:
> +        sinb = sqrt( 1.0f - matrix->u.m[2][2] * matrix->u.m[2][2] );
> I'd prefer to declare the variables as locally as possible.
As an aside, you'll probably want to use floating point functions like
sqrtf() instead of ones operating on doubles like sqrt() in most of
d3dx9. That's not a new issue though.

More information about the wine-devel mailing list