Go to the documentation of this file.00001 #pragma once
00002 #include "ggraphicsobject.h"
00003 #include "GVec4f.h"
00004 #include "GAnimatedMesh.h"
00005
00006 class GSkyBox : public GGraphicsObject
00007 {
00008 protected:
00009 unsigned int TexIds[6];
00010 char TextureNames[6][50];
00011 GAnimatedMesh *BoxMesh;
00012
00013 public:
00014 GSkyBox(char *MeshFile, char _TextureNames[6][50]);
00015 ~GSkyBox(void);
00016 int Draw(GVec4f pos, double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS);
00017 int Draw(double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS);
00018 int DrawSprites(double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS);
00019 };