XNA C# getting 12 trangle faces of a cube , given (MIN,MAX) of BoundingBox
Posted
by Raj
on Stack Overflow
See other posts from Stack Overflow
or by Raj
Published on 2010-04-27T04:31:34Z
Indexed on
2010/04/27
4:33 UTC
Read the original article
Hit count: 387
Is there a eazy way or class to get 12 trangles of a cube where, only (MIN,MAX) coordinates are know for the BoundingBox cube i want to use PrimitiveType.TriangleList for rendering face of cube but dont know how to get static indices array of 12 triangles which can be defined by , MIN ,MAX vertices of the cube .
I am using C# with XNA
Thank you
© Stack Overflow or respective owner