Revision 1378,
415 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Line | |
---|
1 | #pragma once
|
---|
2 | #include "NxPhysics.h"
|
---|
3 |
|
---|
4 | const DWORD VertexFVF = (D3DFVF_XYZ | D3DFVF_DIFFUSE);
|
---|
5 |
|
---|
6 | class PhysXDebugRenderer
|
---|
7 | {
|
---|
8 |
|
---|
9 |
|
---|
10 |
|
---|
11 | public:
|
---|
12 | PhysXDebugRenderer(void);
|
---|
13 | ~PhysXDebugRenderer(void);
|
---|
14 |
|
---|
15 | void setDevice(IDirect3DDevice9 &_device);
|
---|
16 |
|
---|
17 | void render(const NxDebugRenderable &data);
|
---|
18 |
|
---|
19 | protected:
|
---|
20 | IDirect3DDevice9 *device;
|
---|
21 |
|
---|
22 | struct CUSTOMVERTEX
|
---|
23 | {
|
---|
24 | float x,y,z;
|
---|
25 | D3DCOLOR diffuse;
|
---|
26 | };
|
---|
27 |
|
---|
28 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.