5g_3delement.h

来自「visual c++ 实例编程」· C头文件 代码 · 共 35 行

H
35
字号
// 5G_3DElement.h: interface for the C5G_3DElement class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_5G_3DELEMENT_H__6BE0FF5E_C3A3_43EF_841A_D5A56172109E__INCLUDED_)
#define AFX_5G_3DELEMENT_H__6BE0FF5E_C3A3_43EF_841A_D5A56172109E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "5g_material.h"
#include "5g_3dvertex.h"
#include "5g_2dvertex.h"

class C5G_3DElement  
{
public:
	C5G_3DElement()
	{
		m_id = 0;
	}
	virtual ~C5G_3DElement();

public:
	int m_id;		//element id
	C5G_Material m_material;

	vector<C5G_3DVertex> m_mesh;		//triangles
	vector<C5G_2DVertex> m_texcoor;		//texture coordinate

};

#endif // !defined(AFX_5G_3DELEMENT_H__6BE0FF5E_C3A3_43EF_841A_D5A56172109E__INCLUDED_)

⌨️ 快捷键说明

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