d3dxcreatebox patch

Alexandre Julliard julliard at winehq.org
Thu Mar 10 09:01:45 CST 2011


Matteo Bruni <matteo.mystral at gmail.com> writes:

> 2011/3/10 David Adam <david.adam.cnrs at gmail.com>:
>> Thanks for the feedback. What do you mean by "you are forcing a particular
>> vertex ordering3"?
>
> I mean that you are testing the vertices of the mesh returned by
> D3DXCreateBox in the order generated by native d3dx9, while they could
> in general be in any order while still making up a box. That's not a
> problem in my opinion because our implementation (when it will be
> written :)) could generate the vertices with the same ordering without
> any issue.

There's no reason for the tests to require that. Also, hardcoding the
full list of vertices is ugly (and in the case of the teapot, clearly
absurd).

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list