DX学习记录-顶点结构
<br />在DX例子中有这样一个顶点结构<br />// A structure for our custom vertex type. We added a normal, and omitted the
// color (which is provided by the material)
struct CUSTOMVERTEX
{
D3DXVECTOR3 position; // The 3D position for the vertex
D3DXVECTOR3 normal;
原创
2010-09-16 11:19:00 ·
1328 阅读 ·
0 评论