📄 lensfare.h
字号:
/**********************************************************
SimNature Ver1.0.0
Copyright : Panliliang (Stanly Lee)
2002 - 2003
Alright reserved!
All Noncommeric use is Free!
潘李亮版权所有
2003-2003
本程序的所有非商业化使用为免费代码。
E- Mial: Panliliang@etang.com
Xheartblue@etang.com
模块名称:
功能描述:
版本:
作者:
**********************************************************/
#ifndef _LENS_FLARE_H_
#define _LENS_FLARE_H_
#include<vector>
using namespace std;
#include "Camera.h"
class CLensFlar
{
typedef struct
{
float pos;
float size;
int texID;
}LFNODE,*PLFNODE;
public:
BOOL IsBackOfViewer();
void SetCamera(CCamera* pCamera);
void Release();
void SetLocation(float x,float y,float z);
void AddSubNode(float size,float pos,int texID);
void AddMainNode(float size,int texID);
void Draw();
private:
vector<LFNODE> m_MainNodes;
vector<LFNODE> m_SubNodes;
float m_loca_x,m_loca_y,m_loca_z;
float m_screen_x,m_screen_y;
float m_tag_x,m_tag_y;
CAMERA_INFO* m_pCamera;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -