naturecustompatch.cpp
来自「使用stl技术,(还没看,是听说的)」· C++ 代码 · 共 43 行
CPP
43 行
/*****************************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?