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

Cubemap Class Reference

#include <Cubemap.h>

Inherits OpenGLObject.

Inheritance diagram for Cubemap:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Cubemap (float size)
virtual ~Cubemap ()

Private Attributes

float * m_pBoxVertices
short * m_pBoxIndices

Detailed Description

Cubemap.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 13 of file Cubemap.h.


Constructor & Destructor Documentation

Cubemap::Cubemap float  size  ) 
 

Cubemap.cpp

Author: Petter Alstermark, petter@alstermark.com

short indices[] = { 0, 1, 2, 1, 3, 2, 1, 5, 3, 5, 7, 3, 5, 4, 7, 4, 6, 7, 4, 0, 6, 0, 2, 6, 4, 5, 0, 5, 1, 0, 2, 3, 6, 3, 7, 6 };

Definition at line 9 of file Cubemap.cpp.

References Object::addFormat(), ATT_FLOAT, ATT_TEX, ATT_VERTEX, Object::indices, LOG_SUCCESS, m_pBoxIndices, m_pBoxVertices, PRIM_TRIANGLES, Object::setIndices(), Object::setPrimitive(), Object::setVertices(), and Object::vertices.

Here is the call graph for this function:

Cubemap::~Cubemap  )  [virtual]
 

Definition at line 71 of file Cubemap.cpp.

References m_pBoxVertices.


Member Data Documentation

short* Cubemap::m_pBoxIndices [private]
 

Definition at line 20 of file Cubemap.h.

Referenced by Cubemap().

float* Cubemap::m_pBoxVertices [private]
 

Definition at line 19 of file Cubemap.h.

Referenced by Cubemap(), and ~Cubemap().


Generated on Sun Jun 5 15:49:27 2005 for Defacto by  doxygen 1.4.3