Main Page | Class List | File List | Class Members | File Members

Cube Class Reference

A simple cube mesh. More...

#include <Cube.h>

List of all members.

Public Member Functions

 Cube (IDirect3DDevice9 *pd3dDevice)
void Destroy ()
void PrepareDrawing ()
void Draw ()
void DrawFace (int index)

Public Attributes

IDirect3DVertexBuffer9 * pVertexBuffer

Private Attributes

IDirect3DDevice9 * pd3dDevice
HRESULT hr


Detailed Description

A simple cube mesh.

Texture coordinates range from 0..1 for each face, thus no texture atlas is necessary when texturing all faces with the same texture. See EnvMap::DrawEnvObjects().


Constructor & Destructor Documentation

Cube::Cube IDirect3DDevice9 *  pd3dDevice  ) 
 


Member Function Documentation

void Cube::Destroy  ) 
 

void Cube::Draw  ) 
 

void Cube::DrawFace int  index  ) 
 

void Cube::PrepareDrawing  ) 
 


Member Data Documentation

HRESULT Cube::hr [private]
 

IDirect3DDevice9* Cube::pd3dDevice [private]
 

IDirect3DVertexBuffer9* Cube::pVertexBuffer
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by  doxygen 1.4.2