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

Box Class Reference

#include <Box.h>

Inherits OpenGLObject.

Inheritance diagram for Box:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Box (float size)
virtual ~Box ()

Private Attributes

Vertexm_pBoxVertices

Detailed Description

Box.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 13 of file Box.h.


Constructor & Destructor Documentation

Box::Box float  size  ) 
 

Box.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file Box.cpp.

References Object::addFormat(), ATT_FLOAT, ATT_NORMAL, ATT_TEX, ATT_VERTEX, LOG_SUCCESS, m_pBoxVertices, PRIM_QUADS, Object::setPrimitive(), and Object::setVertices().

Here is the call graph for this function:

Box::~Box  )  [virtual]
 

Definition at line 73 of file Box.cpp.

References m_pBoxVertices.


Member Data Documentation

Vertex* Box::m_pBoxVertices [private]
 

Definition at line 19 of file Box.h.

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


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