source:
GTP/trunk/App/Demos/Illum/explosion_DX/Cube.h
@
1484
Revision 1484, 242 bytes checked in by szirmay, 18 years ago (diff) |
---|
Line | |
---|---|
1 | #pragma once |
2 | |
3 | class Cube |
4 | { |
5 | IDirect3DDevice9* pd3dDevice; |
6 | IDirect3DVertexBuffer9 *pVertexBuffer; |
7 | HRESULT hr; |
8 | |
9 | public: |
10 | Cube(IDirect3DDevice9* pd3dDevice); |
11 | void PrepareDrawing(); |
12 | void Draw(); |
13 | void DrawFace(int index); |
14 | }; |
Note: See TracBrowser
for help on using the repository browser.