Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

SkyBox Class Reference

#include <SkyBox.h>

Inheritance diagram for SkyBox:

[legend]
Collaboration diagram for SkyBox:
[legend]
List of all members.

Public Methods

 SkyBox ()
virtual ~SkyBox ()
virtual void draw ()
virtual void loadSkyBoxTextures (string top, string bottom, string left, string right, string front, string back)
void center (Vector3 position, Vector3 dimensions)
void disable (bool t)

Protected Attributes

Vector3 _position
Vector3 _dimensions
bool _disabled

Detailed Description

Class that creates a skybox (big cube around the map with a pretty background)

author: Mark <Line72> Dillavou: dillavou@uab.edu


Constructor & Destructor Documentation

SkyBox::SkyBox  
 

SkyBox::~SkyBox   [virtual]
 


Member Function Documentation

void SkyBox::center Vector3    position,
Vector3    dimensions
 

center the skybox around the object

void SkyBox::disable bool    t [inline]
 

switch between drawing and not drawing

void SkyBox::draw   [virtual]
 

Draw the skybox

Reimplemented from Object.

void SkyBox::loadSkyBoxTextures string    top,
string    bottom,
string    left,
string    right,
string    front,
string    back
[virtual]
 

function to laod all the textures


Member Data Documentation

Vector3 SkyBox::_dimensions [protected]
 

bool SkyBox::_disabled [protected]
 

Vector3 SkyBox::_position [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:13 2004 for naturecalls by doxygen1.2.18