Matteo Bruni
6dc78d5c27
d3dx9: Cleanup D3DXVec3Unproject() implementation a bit.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-14 22:38:50 +01:00
Alex Henrie
00a352a376
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>
2018-02-13 20:23:26 +01:00
Paul Gofman
dd79394ccc
d3dx9: D3DXQuaternionSquadSetup should support arguments aliasing.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 23:29:31 +09:00
Paul Gofman
bb9a2e6714
d3dx9: D3DXVec2Transform should support arguments aliasing.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:12 +09:00
Paul Gofman
a67b43c1be
d3dx9: Get rid of redundant temporary variable in D3DXQuaternionInverse.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:09 +09:00
Paul Gofman
1ba9cfb5c3
d3dx9: D3DXVec3Transform should support input and output parameter overlap.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:13:55 +09:00
Matteo Bruni
4d1192ad89
d3dx9: Cleanup header includes.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 14:12:29 +09:00
Paul Gofman
215e2d7fed
d3dx9: D3DXQuaternionToAxisAngle should not crash on NULLs in output parameters.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 23:52:23 +09:00
Stefan Dösinger
1e78257109
d3dx9_36: Replace powf(2, unsigned int) with (1u << unsigned int).
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 12:57:29 +09:00
Matteo Bruni
950c40b117
d3dx9: Handle pixel formats larger than 32 bits in surface loading / filtering functions.
2014-02-17 20:16:24 +01:00
Stefan Dösinger
b87e167fa3
d3dx9_36: Make the order parameter of weightedcapintegrale an UINT.
2014-01-06 20:46:50 +01:00
Stefan Dösinger
6bc4ebd516
d3dx9_36: Floatify some constants.
2014-01-02 17:28:47 +01:00
Stefan Dösinger
f06fc7f858
d3dx9_36: Use float math functions.
2014-01-02 17:28:24 +01:00
Andrey Gusev
9970e29589
d3dx9_36: Add one more missing f suffix.
2013-12-20 17:09:12 +01:00
Stefan Dösinger
af3a59cbd0
d3dx9_36: Add missing f suffixes.
2013-12-19 17:30:30 +01:00
Henri Verbeet
6ea59b9157
d3dx9: Get rid of the ID3DXMatrixStack_Vtbl forward declaration.
2013-08-22 10:26:53 +02:00
Rico Schüller
ee66470477
d3dx9: Apply rotationcenter only when a rotation is done.
2013-06-17 19:30:38 +02:00
Rico Schüller
ae0d8b5e59
d3dx9: Remove unneeded variables.
2013-05-01 16:00:56 +02:00
Francois Gouget
2dc0235272
d3dx9_36: Add a trailing '\n' to a TRACE().
2013-04-18 19:13:00 +02:00
Nozomi Kodama
e2d3553642
d3dx9: Floatify sqrt into sqrtf.
2013-04-09 12:24:18 +02:00
Nozomi Kodama
6d6603b495
d3dx9: Implement D3DXSHEvalHemisphereLight.
2013-04-04 19:27:52 +02:00
Nozomi Kodama
6247dae2ac
d3dx9: Implement D3DXSHEvalSphericalLight.
2013-04-04 19:27:23 +02:00
Nozomi Kodama
479195ea41
d3dx9: Save multiplications for better performance.
2013-03-07 17:35:40 +01:00
Nozomi Kodama
9085f1d27f
d3dx9: Implement D3DXSHEvalConeLight.
2013-03-07 17:33:13 +01:00
Nozomi Kodama
bb3549fc2f
d3dx9: Explicit computations in D3DXMatrixInverse to speed them up.
2013-02-28 21:37:19 +01:00
Nozomi Kodama
c66d9eb2fe
d3dx9: Explicit computations in D3DXMatrixDeterminant to speed them up.
2013-02-28 21:37:18 +01:00
Rico Schüller
a3277ed666
d3dx9: Fix typos.
2013-02-25 13:03:30 +01:00
Nozomi Kodama
de852879d1
d3dx9: Avoid useless computations.
2013-02-20 20:43:46 +01:00
Nozomi Kodama
f9347a8f0e
d3dx9: Add a missing trace.
2013-02-20 20:43:40 +01:00
Nozomi Kodama
bd59218140
d3dx9: Specify arguments in trace to ease debugging.
2013-02-20 20:43:35 +01:00
Nozomi Kodama
5038a7d915
d3dx9: Use const instead of CONST.
2013-02-14 17:32:22 +01:00
Rico Schüller
43f30fe8d6
d3dx9: Add support for D3DFMT_A16B16G16R16F.
2013-01-11 11:58:16 +01:00
Rico Schüller
2cb1372350
d3dx9: Improve D3DXMatrixRotationYawPitchRoll().
2012-12-05 12:44:47 +01:00
Henri Verbeet
8c94757c2b
d3dx9: Avoid LPD3DXMATRIXSTACK.
2012-11-29 00:16:38 +01:00
Nozomi Kodama
965e27149a
d3dx9_36: Fix the case out = in for D3DXSHRotate.
2012-11-13 19:27:04 +01:00
Nozomi Kodama
1ca9ed90e3
d3dx9_36: Implement handy computations for small orders in D3DXSHRotate.
2012-11-13 19:25:29 +01:00
Józef Kucia
3e264ced0f
d3dx9: Handle NULL arguments in D3DXVec3Unproject.
2012-11-08 17:21:18 +01:00
Józef Kucia
a5d5650730
d3dx9: Handle NULL arguments in D3DXVec3Project.
2012-11-08 17:21:15 +01:00
Józef Kucia
7bfd634286
d3dx9: Handle NULL viewport in D3DXVec3Unproject.
2012-10-29 10:47:04 +01:00
Rico Schüller
e74a99b71a
d3dx9: Fix calculation when in and out overlap in D3DXSHRotateZ().
2012-10-18 19:34:12 +02:00
Nozomi Kodama
b8cfe42326
d3dx9_36: Implement D3DXSHMultiply4.
2012-10-03 13:10:45 +02:00
Rico Schüller
ec9db0a11f
d3dx9: Fix D3DXMatrixAffineTransformation() and add some tests.
2012-10-01 18:49:11 +02:00
Rico Schüller
effdcf98d6
d3dx9: Improve traces for D3DXSHMultiply2/3().
2012-09-28 11:27:40 +02:00
Rico Schüller
3e24dc642b
d3dx9: Use float functions in D3DXMatrixRotationAxis().
2012-09-28 11:27:34 +02:00
Rico Schüller
945e81b341
d3dx9: Improve D3DXMatrixAffineTransformation().
2012-09-28 11:27:21 +02:00
Rico Schüller
c131bee4fc
d3dx9: Improve D3DXMatrixAffineTransformation2D().
2012-09-28 11:27:13 +02:00
Rico Schüller
aa344fc88d
d3dx9: Use float function in D3DXFresnelTerm().
2012-09-28 11:27:08 +02:00
Rico Schüller
e420409b8d
d3dx9: Use float function in D3DXPlaneNormalize().
2012-09-28 11:27:01 +02:00
Rico Schüller
ef65fddaf9
d3dx9: Use float functions in D3DXQuaternionExp().
2012-09-27 13:12:57 +02:00
Rico Schüller
9a281e5dd2
d3dx9: Use float functions in D3DXQuaternionRotationMatrix().
2012-09-27 13:12:48 +02:00