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