www.pudn.com > QuadTreeLOD4cs.rar > SkyBox.h, change:2003-06-12,size:742b
// SkyBox.h: interface for the CSkyBox class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SKYBOX_H__9648C5B4_0257_460C_8270_317E857338DF__INCLUDED_)
#define AFX_SKYBOX_H__9648C5B4_0257_460C_8270_317E857338DF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "gamehead.h"
#include "texture.h"
class CFrustum;
class CSkyBox
{
CTexture m_Txt[6];
float m_fX,m_fY,m_fZ,m_fWidth,m_fHeight,m_fLen;
public:
void Init(float x, float y, float z, float width, float height, float length);
CSkyBox();
virtual ~CSkyBox();
void Draw(const CFrustum &frustum);
};
#endif // !defined(AFX_SKYBOX_H__9648C5B4_0257_460C_8270_317E857338DF__INCLUDED_)