mesh.h

来自「一个纹理地形渲染器」· C头文件 代码 · 共 22 行

H
22
字号
// System Mesh class

#pragma once

#include "ObjectAdapter.h"


namespace System
{
    /// A triangle mesh.
    /// Create a mesh instance using the Display::createMesh factory method.
    /// This class contains no methods because to render this mesh, you simply select it 
    /// with a display using Display::selectMesh, then call the Display::renderMesh method.

	class Mesh : public ObjectAdapter
	{
	public:

		// todo: some methods for querying mesh information would be handy here, eg. number of verts, faces, edges etc...
	};
}

⌨️ 快捷键说明

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