⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 land.h

📁 此文档是用vistual studio 2005 开发的用来描述3D-tree 的生长过程
💻 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 + -