polygon object. More...
#include <glut-model.h>
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_t > | material |
| material (texture etc) | |
| point3d_t | normal |
| polygon normal | |
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.
| glut::polygon_t::polygon_t | ( | void | ) | throw () [inline] |
Definition at line 106 of file glut-model.h.
1.7.1