Panda3D
|
This represents a single vertex associated with an XFileFace. More...
#include "xFileVertex.h"
Public Member Functions | |
int | compare_to (const XFileVertex &other) const |
void | set_from_egg (EggVertex *egg_vertex, EggPrimitive *egg_poly) |
Sets the structure up from the indicated egg data. | |
Public Attributes | |
LColor | _color |
bool | _has_color |
bool | _has_uv |
LVertexd | _point |
LTexCoordd | _uv |
This represents a single vertex associated with an XFileFace.
Definition at line 29 of file xFileVertex.h.
void XFileVertex::set_from_egg | ( | EggVertex * | egg_vertex, |
EggPrimitive * | egg_poly | ||
) |
Sets the structure up from the indicated egg data.
Definition at line 40 of file xFileVertex.cxx.
References EggAttributes::get_color(), EggVertex::get_pos3(), EggPrimitive::get_texture(), EggTransform::get_transform2d(), EggVertex::get_uv(), EggNode::get_vertex_frame(), EggNode::get_vertex_to_node(), EggPrimitive::has_texture(), EggTransform::has_transform2d(), and EggVertex::has_uv().
Referenced by XFileMesh::add_vertex().