00001 #include <plib/ssg.h>
00002 #include <plib/ssgAux.h>
00003 #include <plib/ssgaShapes.h>
00004
00005 #define SKYBOX_SIZE 2000.0f
00006
00007 class skybox {
00008 public:
00009 skybox(float);
00010 ~skybox();
00011 void update(sgVec3*);
00012 ssgaSphere* get_object() { return ball;}
00013 private:
00014 void _init_geometry(float);
00015 ssgaSphere* ball;
00016 ssgVtxTable* lower;
00017 ssgVtxTable* upper;
00018
00019 sgVec4 *colors;
00020 sgVec3 *normals;
00021 sgVec2 *texCoords;
00022 sgVec3 *vertices;
00023
00024 };