Panda3D
|
This represents a single face of an XFileMesh. More...
#include "xFileFace.h"
Classes | |
class | Vertex |
Public Types | |
typedef pvector< Vertex > | Vertices |
Public Member Functions | |
void | set_from_egg (XFileMesh *mesh, EggPolygon *egg_poly) |
Sets the structure up from the indicated egg data. | |
Public Attributes | |
int | _material_index |
Vertices | _vertices |
This represents a single face of an XFileMesh.
Definition at line 26 of file xFileFace.h.
typedef pvector<Vertex> XFileFace::Vertices |
Definition at line 36 of file xFileFace.h.
XFileFace::XFileFace | ( | ) |
Definition at line 21 of file xFileFace.cxx.
void XFileFace::set_from_egg | ( | XFileMesh * | mesh, |
EggPolygon * | egg_poly ) |
Sets the structure up from the indicated egg data.
Definition at line 29 of file xFileFace.cxx.
References XFileMesh::add_material(), XFileMesh::add_normal(), and XFileMesh::add_vertex().
Referenced by XFileMesh::add_polygon().
int XFileFace::_material_index |
Definition at line 39 of file xFileFace.h.
Vertices XFileFace::_vertices |
Definition at line 37 of file xFileFace.h.