00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __SKYDRAW_H__
00012 #define __SKYDRAW_H__
00013
00014 #include "Landscape/LandscapeDll.h"
00015 #include "Common/Types.h"
00016
00017 class KRender;
00018 class KSunDraw;
00019
00020
00021 class LANDSCAPE_API KSkyDraw
00022 {
00023 protected:
00024 KRender* m_pRender;
00025 KSunDraw* m_pSunDraw;
00026
00027 KSHADER m_hShader;
00028 KLVertex* m_pVertex;
00029 u32 m_nVertex;
00030 KINDEX* m_pIndex;
00031 u32 m_nIndex;
00032
00033 u32 m_nSegments;
00034
00035 public:
00036 KSkyDraw();
00037 ~KSkyDraw();
00038
00039 bool Init( KRender* pRender, u32 nSegments, KSunDraw* pSunDraw );
00040 void Draw();
00041 };
00042
00043 #endif __SKYDRAW_H__