D3DXPlaneDotCoord
Hi
I have made a plane using D3DXPlaneFromPoints. I realise that the D3DXPlaneIntersectLine function informs you of the vector position at which intersection takes place between the plane and the line. I am now trying to use D3DXPlaneDotCoord to determine if the line is intersecting a triangle. However I cannot fathom what arguments to pass to this functions. I know that if the correct arguments are passed this function will return 0 if intersection is taking place. Could any1 help me with this please?
Thanks
Dan
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/directx_cpp/Graphics/Reference/CPP/D3DX/Functions/Mesh/d3dxintersecttri.asp
Also, the pick sample that comes with the sdk has an intersect triangle routine that will show you how to detect whether a line intersects with a triangle.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement