Re: Include math.h in d3dx9math.inl as it uses sqrt().

2011-11-11 Thread Francois Gouget
On Thu, 10 Nov 2011, Daniel Scharrer wrote: > > > Does the Microsoft header include math.h? > I'm sorry, it seems I made a mistake here: the actual header file > (d3dx9math.h) from wine includes math.h so the sqrt usage is ok. > > However, d3dx9math.inl also uses min and max macros which aren't >

Re: d3dx9 [patch 1/2, try 4]: Implement D3DXCreatePolygon

2011-11-11 Thread Rico Schüller
Am 10.11.2011 10:59, schrieb David Adam: Hello, I tried to fix the remaining issues pointed by Matteo and Rico. I kept the style of Misha Koshelev who already implemented many shapes in the mesh.c file. Any more suggestions? David Hi David, I still have some suggestions. Please review all

Re: Include math.h in d3dx9math.inl as it uses sqrt().

2011-11-11 Thread Rico Schüller
Am 10.11.2011 19:02, schrieb Daniel Scharrer: Hi, Does the Microsoft header include math.h? I'm sorry, it seems I made a mistake here: the actual header file (d3dx9math.h) from wine includes math.h so the sqrt usage is ok. However, d3dx9math.inl also uses min and max macros which aren't inclu