#pragma once #include "NxPhysics.h" const DWORD VertexFVF = (D3DFVF_XYZ | D3DFVF_DIFFUSE); class PhysXDebugRenderer { public: PhysXDebugRenderer(void); ~PhysXDebugRenderer(void); void setDevice(IDirect3DDevice9 &_device); void render(const NxDebugRenderable &data); protected: IDirect3DDevice9 *device; struct CUSTOMVERTEX { float x,y,z; D3DCOLOR diffuse; }; };