// Class Cursor holds the state of the cursor in a D3D matrix // and has a pointer the mesh to be drawn when "F" is given // also has methods to rotate and move. #include class Cursor { public: Cursor(); /* Default Constructor */ Cursor(D3DXMATRIX,LPD3DXMESH*,float); /* Parameterized contructor */ D3DXMATRIX matrix; /* matrix that holds the position * and orientation of cursor*/ LPD3DXMESH* mesh; /* mesh to be drawn when the cursor moves */ float angle; /* angle which the cursor rotates */ };