Archived

This topic is now archived and is closed to further replies.

PSioNiC

ID3DXBaseMesh

Recommended Posts

how do you convert an ID3DXMesh to an ID3DXBaseMesh ? I want to use the D3DXIntersect function, but it requires a base mesh. (if anybody has any code for D3DXIntersect PPLLEEAASEE post it by the way) I dont see any functions in the SDK (yet) that do this. if anybody has any info on these types of meshes, please let me know thanks

Share this post


Link to post
Share on other sites
I believe that ID3DXBaseMesh is the base class for ID3DXMesh, therefore you may use D3DXIntersect with ID3DXMesh, because it is-a ID3DXBaseMesh.

Share this post


Link to post
Share on other sites