d3dx9: Correctly round constants in D3DXSHMultiply3 implementation.
commit00a352a3765223f9d37e111c13bcab8efa577318
authorAlex Henrie <alexhenrie24@gmail.com>
Tue, 6 Feb 2018 03:47:08 +0000 (5 20:47 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Feb 2018 19:23:26 +0000 (13 20:23 +0100)
treefc1d85a370d1220679a86e0eda0adbbcdb78cc05
parentfbfcb57c17d2a49beb9d4cf0523d01cb826cf60e
d3dx9: Correctly round constants in D3DXSHMultiply3 implementation.

The correct constants are given to approximately 64-bit precision in
"Code Generation and Factoring for Fast Evaluation of Low-order
Spherical Harmonic Products and Squares" (2006) by John Snyder.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3dx9_36/math.c