Public Member Functions | Public Attributes

glut::polygon_t Struct Reference
[Glut 3D Model Library]

polygon object. More...

#include <glut-model.h>

List of all members.

Public Member Functions

 polygon_t (void) throw ()
 ~polygon_t (void) throw ()
void clear (void) throw ()

Public Attributes

int nVertices
 number of vertices in the polygon
int * indices
 array of vertex indices
float * u
 array of vertex texture u-coords
float * v
 array of vertex texture v-coords
smart_ptr< material_tmaterial
 material (texture etc)
point3d_t normal
 polygon normal

Detailed Description

polygon object.

There is a single normal for the entire polygon, and an arbitrary number of points (vertices)

Definition at line 104 of file glut-model.h.


Constructor & Destructor Documentation

glut::polygon_t::polygon_t ( void   )  throw () [inline]

Definition at line 106 of file glut-model.h.


The documentation for this struct was generated from the following file: