#include <ModelStatic.h>
Public Member Functions | |
CModelStatic () | |
Standard constructor. | |
~CModelStatic () | |
Standard destructor. | |
bool | Load (LPDIRECT3DDEVICE9 pd3dDevice, WCHAR *strFilePath, WCHAR *strFileName) |
Load static mesh using simple old D3DXLoadMeshFromX function. | |
void | OnRender (LPDIRECT3DDEVICE9 pd3dDevice) |
Render function renders static model. | |
void | OnFrameMove (LPDIRECT3DDEVICE9 pd3dDevice, float rotation, D3DXVECTOR3 position) |
Move function doesn't have much work to do for static 3D mesh! It just positions him in the world. |
CModelStatic::CModelStatic | ( | ) |
Standard constructor.
CModelStatic::~CModelStatic | ( | ) |
Standard destructor.
bool CModelStatic::Load | ( | LPDIRECT3DDEVICE9 | pd3dDevice, | |
WCHAR * | strFilePath, | |||
WCHAR * | strFileName | |||
) |
Load static mesh using simple old D3DXLoadMeshFromX function.
void CModelStatic::OnRender | ( | LPDIRECT3DDEVICE9 | pd3dDevice | ) |
Render function renders static model.
void CModelStatic::OnFrameMove | ( | LPDIRECT3DDEVICE9 | pd3dDevice, | |
float | rotation, | |||
D3DXVECTOR3 | position | |||
) |
Move function doesn't have much work to do for static 3D mesh! It just positions him in the world.