Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualTispe

Posted 08 January 2013 - 06:05 AM

With D3DXIntersectTri() you pass in a face(3 vertices) so you already know what the intersected face is.

 

Unless you want to call this function for every face on the mesh you probably want to stick with D3DXInterect() and read the DWORD *pFaceIndex, parameter.


#1Tispe

Posted 08 January 2013 - 06:04 AM

With D3DXIntersectTri() you pass in a face(3 vertices) so you already know what the intersected face is.

 

Unless you want to call this function for every face on the mesh you probably want to stick with D3DXInterect().


PARTNERS