摘要:
# defining graphics' vertex' format:struct vertextType { Vertex(){} Vertex(float x, float y, float z) { _x = x; _y = y; _z = z; } float _x, _y, _z; static const DWORD FVF;};const DWORD Vertex::FVF = D3DFVF_XYZ; define vertexbuffer:IDirect3DVertexBuffer9* vertexbuffer = NULL; # if needed, def 阅读全文