#include <Forest.h>
Public Member Functions | |
C3DForest () | |
Standard constructor for 3D forest. | |
~C3DForest () | |
Standard destructor for 3D forest. | |
bool | Load (LPDIRECT3DDEVICE9 pd3dDevice, WCHAR *strFilePath, WCHAR *strFileName) |
Load static tree 3D mesh. | |
void | OnRender (LPDIRECT3DDEVICE9 pd3dDevice) |
Renders 3D forest (tall cut-off trees with bushes on an trunk). |
C3DForest::C3DForest | ( | ) |
Standard constructor for 3D forest.
C3DForest::~C3DForest | ( | ) |
Standard destructor for 3D forest.
bool C3DForest::Load | ( | LPDIRECT3DDEVICE9 | pd3dDevice, | |
WCHAR * | strFilePath, | |||
WCHAR * | strFileName | |||
) |
Load static tree 3D mesh.
void C3DForest::OnRender | ( | LPDIRECT3DDEVICE9 | pd3dDevice | ) |
Renders 3D forest (tall cut-off trees with bushes on an trunk).