00001 #ifndef _SKYBOX_H_ 00002 #define _SKYBOX_H_ 00003 00004 #include "Object.h" 00005 #include "Vector3.h" 00006 00014 class SkyBox : public Object 00015 { 00016 public: 00017 SkyBox(); 00018 virtual ~SkyBox(); 00019 00023 virtual void draw(); 00027 virtual void loadSkyBoxTextures(string top, string bottom, string left, string right, string front, string back); 00031 void center(Vector3 position, Vector3 dimensions); 00035 void disable(bool t) { _disabled = t; } 00036 00037 protected: 00038 Vector3 _position; 00039 Vector3 _dimensions; // x = width, y = height, z = length 00040 00041 bool _disabled; // draw the skybox, or just black ? 00042 }; 00043 00044 #endif