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

📄 5g_light.h

📁 visual c++ 实例编程
💻 H
字号:
// 5G_Light.h: interface for the C5G_Light class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_5G_LIGHT_H__30057B72_E84D_4A15_9C65_49456165C5C9__INCLUDED_)
#define AFX_5G_LIGHT_H__30057B72_E84D_4A15_9C65_49456165C5C9__INCLUDED_

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

#include "5G_4DVertex.h"

class C5G_Light  
{
public:
	C5G_Light(){};
	virtual ~C5G_Light();
/*
[#position x y z r]
[#ambient x y z r]
[#specular x y z r]
[#diffuse x y z r]
[#spotdirection x y z r]
[#spotexponent s]
[#spotcutoff s]
[#consantattenuation s]
[#linearattenuation s]
[#quadraticattenuation s]
*/
public:
	C5G_4DVertex m_position;
	C5G_4DVertex m_ambient;
	C5G_4DVertex m_specular;
	C5G_4DVertex m_diffuse;
	C5G_4DVertex m_spotdirection;
	float m_spotexponent;
	float m_spotcutoff;
	float m_constantattenuation;
	float m_linearattenuation;
	float m_quadraticattenuation;

};

#endif // !defined(AFX_5G_LIGHT_H__30057B72_E84D_4A15_9C65_49456165C5C9__INCLUDED_)

⌨️ 快捷键说明

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