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

📄 naturecustompatch.cpp

📁 使用stl技术,(还没看,是听说的)
💻 CPP
字号:
/*****************************************************************************

	File: NatureCustomPatch.cpp
	Desc: This class will eventually be able to render custom meshes
	      as a terrain patch (think cave openings and other things
	      heightmap data can't represent)
	Date: 2003/02/22

	Author: Martin Persson

*****************************************************************************/

#ifndef __NATURECUSTOMPATCH_H
#define __NATURECUSTOMPATCH_H

#include <OgrePrerequisites.h>
#include <OgreSimpleRenderable.h>
#include <OgreMaterialManager.h>

#include "NatureConfig.h"
#include "NaturePatch.h"

namespace Ogre
{

class NatureCustomPatch : public NaturePatch
{
public:
    NatureCustomPatch();

    ~NatureCustomPatch();

    void prepareMesh();

    void generateMesh();

private:
};

} // namespace Ogre

#endif

⌨️ 快捷键说明

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