https://bugs.winehq.org/show_bug.cgi?id=35133
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #12 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Anastasius Focht from comment #11)
It seems the barycentric hit coordinate out parameters (U,V) are optional.
There are various DX game engine/example snippets floating around that pass NULL for these:
https://stackoverflow.com/questions/11161165/d3dxintersecttri-parts-of-my- mesh-dont-seem-to-produce-a-hit
Thanks! I've written some tests, and it seems like (at least) the last three arguments are optional. Patch + testcase was added to the staging tree:
https://github.com/wine-compholio/wine-staging/blob/master/patches/d3dx9_36-...
Will try to submit it during the next weeks.