Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <d3d9.h>
- struct AxisRenderFV
- {
- float x, y, z;
- DWORD color;
- };
- #define AxisRenderFVF (D3DFVF_XYZ | D3DFVF_DIFFUSE)
- class AxisRender
- {
- private:
- IDirect3DVertexBuffer9* VertexBuffer;
- IDirect3DDevice9* d3ddev;
- float length;
- DWORD color;
- public:
- AxisRender(float p_length, DWORD p_color);
- ~AxisRender();
- void InitVideoMemory(IDirect3DDevice9* p_d3ddev);
- void Render();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement