Panda3D
Classes | Public Types | Public Member Functions | Public Attributes

XFileFace Class Reference

This represents a single face of an XFileMesh. More...

#include "xFileFace.h"

List of all members.

Classes

class  Vertex

Public Types

typedef pvector< VertexVertices

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

Detailed Description

This represents a single face of an XFileMesh.

Definition at line 28 of file xFileFace.h.


Member Function Documentation

void XFileFace::set_from_egg ( XFileMesh mesh,
EggPolygon egg_poly 
)

Sets the structure up from the indicated egg data.

Definition at line 35 of file xFileFace.cxx.

References XFileMesh::add_material(), XFileMesh::add_normal(), and XFileMesh::add_vertex().

Referenced by XFileMesh::add_polygon().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations