Eric Pouech
46b33179c2
d3dx9: Fix use of D3DXVec2Normalize().
...
Spotted by GCC 11.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:34 +02:00
Christian Costa
1dcc3ab292
d3dx9: Ignore vertices reordering for D3DXMESHOPT_ATTRSORT in OptimizeInPlace().
...
Not reordering vertices shouldn't have effects aside from performance.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48529
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-29 12:02:38 +02:00
Matteo Bruni
18ae539c91
d3dx9: Simplify D3DXSphereBoundProbe() a bit.
...
Spurred by a patch by Alex Henrie.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 00:04:31 +02:00
Alexandre Julliard
08b569d505
d3dx9: Make qsort() callback functions cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:56:27 +02:00
Alexandre Julliard
9fb5745a79
d3dx9: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Vijay Kiran Kamuju
70d722340a
d3dx9: Generate ID3DXSkinInfo in D3DXLoadSkinMeshFromXof() when needed.
...
Based on a patch by Michael Müller.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33904
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 17:24:14 +02:00
Alistair Leslie-Hughes
135d458d34
d3dx9: Return a mesh in D3DXCreateTeapot().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36884
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:03 +02:00
David Adam
32ffef3333
d3dx9: Improve vertices computation in D3DXCreatePolygon().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-14 22:38:43 +01:00
Michael Stefaniuc
f46c96332b
d3dx9: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:31:29 +01:00
Nikolay Sivov
6bae0a003e
d3dx9: Implement D3DXFrameFind().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:38:07 +01:00
Nikolay Sivov
29fee71f1d
d3dx9: Remove dead assignment (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 14:49:58 -05: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
fda55a3fdf
d3dx9: Fix D3DXIntersectTri function.
...
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-03-15 12:26:10 +09:00
Alistair Leslie-Hughes
af4ece26d2
d3dx9: Add D3DXConvertMeshSubsetToSingleStrip stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 11:52:04 +01:00
Marcus Meissner
d17341dbd0
d3dx9_36: Remove unneeded vertex_remap variable (Coverity).
...
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:38 +09:00
Alistair Leslie-Hughes
418a7c6c73
d3dx9: Don't always fail if an ID3DXAnimationController pointer is passed to D3DXLoadMeshHierarchyFromXInMemory.
...
D3DXLoadMeshHierarchyFromXInMemory will only return an AnimationController
when the xfile has an AnimationSet.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 21:49:21 +09:00
Gediminas Jakutis
329fb2f728
d3dx9: Add adjacency generation for D3DXCreateCylinder().
...
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 21:42:14 +09:00
Józef Kucia
567ab59c79
d3dx9: Correctly handle whitespace character in D3DXCreateText.
2015-08-07 23:50:48 +09:00
Józef Kucia
8eca2df900
d3dx9: Implement D3DXComputeNormals().
2015-07-31 12:06:04 +02:00
Józef Kucia
4346b79c2f
d3dx9: Partially implement D3DXComputeTangentFrameEx().
2015-07-31 12:05:57 +02:00
Alistair Leslie-Hughes
0bd896f0f8
d3dx9_36: Add D3DXTessellateNPatches stub ( try 2).
2015-07-31 12:04:44 +02:00
Christian Costa
b82fab89a1
d3dx9_36: Add stub for D3DXIntersect.
2015-07-21 16:33:24 +02:00
Christian Costa
05390ccc65
d3dx9_36: Add stub for D3DXComputeTangentFrameEx.
2015-07-21 16:33:23 +02:00
Andrey Gusev
07630a9eae
d3dx9_36: Assorted spelling and typos fixes.
2015-03-31 00:04:42 +09:00
Francois Gouget
3266ff8ab2
d3dx9_36: Make d3dx_decltype_size[] static.
2015-03-17 14:18:35 +09:00
Sebastian Lackner
b69038e3d9
d3dx9_36: Allow NULL pointer for optional arguments of D3DXIntersectTri.
2014-11-14 14:16:41 +09:00
Sebastian Lackner
0cde50d223
d3dx9_36: Implement D3DXCreatePolygon.
...
Based on a patch by David Adam.
2014-11-11 16:19:44 +09:00
Matteo Bruni
bd4fcdbde5
d3dx9: Remove stray hunk.
2014-08-26 16:44:58 +02:00
Matteo Bruni
7c2c242b2e
d3dx9: Release child mesh objects (Valgrind).
2014-08-26 16:44:54 +02:00
Gediminas Jakutis
fe802d92bb
d3dx9: Implement D3DXCreateTorus() + tests.
2014-07-10 12:40:34 +02:00
Gediminas Jakutis
dc115a2c91
d3dx9: Add adjacency generation for D3DXCreateSphere().
2014-07-03 11:41:48 +02:00
Henri Verbeet
c91c8ca92d
d3dx9: Use a 1x1x1 unit box in D3DXCreateBox().
2014-03-07 11:34:00 +01:00
Gediminas Jakutis
cc3ec2da1a
d3dx9: Implement D3DXCreateBox().
2014-03-03 17:46:42 +01:00
Stefan Dösinger
6bd6193cb1
d3dx9_36: Make emsquare an unsigned int in create_outline.
2014-01-13 18:41:51 +01:00
Stefan Dösinger
86e88f51b8
d3dx9_36: Improve error handling in remap_faces_for_attrsort.
2014-01-06 20:46:48 +01:00
Stefan Dösinger
303a5f05f7
d3dx9_36: Don't make the input parameter to remap_faces_for_attrsort const.
2014-01-06 20:46:47 +01:00
Stefan Dösinger
f06fc7f858
d3dx9_36: Use float math functions.
2014-01-02 17:28:24 +01:00
Stefan Dösinger
4734771f28
d3dx9_36: Make NUM_ELEM a define.
2014-01-01 20:45:29 +01:00
Stefan Dösinger
dcb101666b
d3dx9_36: Use SIZE_T for some iterators.
2014-01-01 20:45:28 +01:00
Stefan Dösinger
f6c90ec59f
d3dx9_36: Use D3DX_PI instead of M_PI.
2014-01-01 20:45:26 +01:00
Henri Verbeet
778b644fc6
d3dx9: Get rid of the ID3DXMeshImpl typedef.
2013-09-24 12:57:31 +02:00
Henri Verbeet
49a3dbc453
d3dx9: Avoid CONST.
2013-09-20 11:27:49 +02:00
Henri Verbeet
871967d0fb
d3dx9: Avoid LPVOID.
2013-09-04 11:37:06 +02:00
Henri Verbeet
76e35a2939
d3dx9: Avoid LPCVOID.
2013-09-03 16:58:18 +02:00
Henri Verbeet
77ee90b59f
d3dx9: Avoid LPSTR.
2013-09-03 16:58:17 +02:00
Henri Verbeet
2a24b11af5
d3dx9: Avoid LPWSTR.
2013-09-02 18:02:46 +02:00
Christian Costa
cfe08e719b
d3dx9_36: Simplify code + fix typo.
2013-06-07 12:26:15 +02:00
Christian Costa
e558925d75
d3dx9_36: Implement skin mesh loading.
2013-05-28 19:46:42 +02:00
Christian Costa
31ae8b6a12
d3dx9_36: Port mesh code to use ID3DXFile instead of IDirectXFile and enable D3DXLoadSkinMeshFromXof.
2013-05-28 19:45:38 +02:00
Andrew Talbot
2cf00836ef
d3dx9_36: Avoid signed-unsigned integer comparisons.
2013-01-03 11:52:08 +01:00