land.h
来自「此文档是用vistual studio 2005 开发的用来描述3D-tree 」· C头文件 代码 · 共 28 行
H
28 行
/*
* Copyleft (c) 2008 Lauming chen, SooChow University.
*
*
*
*/
#ifndef _3D_MyTree_LAND_
#define _3D_MyTree_LAND_
class Land {
public :
Land( float size, char* bmpPath );
~Land();
void draw();
void setSize( float size );
void setTexture( char* bmpPath );
void setVisible( bool visible );
float getSize();
bool getVisible();
unsigned int getTexture();
private :
float size;
unsigned int texture; // The texture of land.
bool visible;
};
#endif // _3D_MyTree_LAND_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?