Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::ArticulatedModel::Part::TriList Class Reference

A set of triangles that have a single material and can be rendered as a single OpenGL primitive. More...

#include <ArticulatedModel.h>

List of all members.

Public Member Functions

void computeBounds (const Part &parentPart)
 TriList ()

Public Attributes

Box boxBounds
Array< int > indexArray
SuperShader::Material material
ShaderRef nonShadowedShader
ShaderRef shadowMappedShader
Sphere sphereBounds
bool twoSided


Detailed Description

A set of triangles that have a single material and can be rendered as a single OpenGL primitive.


Constructor & Destructor Documentation

G3D::ArticulatedModel::Part::TriList::TriList (  )  [inline]


Member Function Documentation

void G3D::ArticulatedModel::Part::TriList::computeBounds ( const Part parentPart  ) 

Recomputes the bounds.

Called automatically by initIFS and init3DS. Must be invoked manually if the geometry is later changed.


Member Data Documentation

In the same space as the vertices.

Computed by computeBounds()

In the same space as the vertices.

Computed by computeBounds()

When true, this trilist enables two-sided lighting and texturing and does not cull back faces.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:44 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo