basicwater.h

来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 27 行

H
27
字号
// DrawWater.h: interface for the CDrawWater class.
//
//////////////////////////////////////////////////////////////////////

#ifndef __BASIC_WATER_H__
#define __BASIC_WATER_H__

#include "Rendering/GL/myGL.h"
#include "BaseWater.h"

class CBasicWater : public CBaseWater
{
public:
	void Draw();
	void UpdateWater(CGame* game){};
	CBasicWater();
	virtual ~CBasicWater();
	int GetID() const { return 0; }

	GLuint texture;
	unsigned int displist;
	int textureWidth;
	int textureHeight;
};

#endif // __BASIC_WATER_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?