conformalmapping.h
来自「3D Game Engine Design Source Code非常棒」· C头文件 代码 · 共 34 行
H
34 行
#ifndef CONFORMALMAPPING_H
#define CONFORMALMAPPING_H
#include "WmlApplication.h"
using namespace Wml;
class ConformalMapping : public Application
{
public:
ConformalMapping ();
virtual bool OnInitialize ();
virtual void OnTerminate ();
virtual void OnIdle ();
virtual void OnKeyDown (unsigned char ucKey, int iX, int iY);
protected:
void ScaleToCube (float fExtreme);
void PseudocolorVertices ();
void DoMapping ();
NodePtr m_spkScene;
WireframeStatePtr m_spkWireframe;
NodePtr m_spkMeshTree, m_spkSphereTree;
TriMeshPtr m_spkMesh;
TriMeshPtr m_spkSphere;
float m_fExtreme;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?