📄 land.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -