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 26 of file xFileVertex.h.
XFileVertex::XFileVertex | ( | ) |
Definition at line 22 of file xFileVertex.cxx.
int XFileVertex::compare_to | ( | const XFileVertex & | other | ) | const |
Definition at line 77 of file xFileVertex.cxx.
void XFileVertex::set_from_egg | ( | EggVertex * | egg_vertex, |
EggPrimitive * | egg_poly ) |
Sets the structure up from the indicated egg data.
Definition at line 34 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().
LColor XFileVertex::_color |
Definition at line 34 of file xFileVertex.h.
bool XFileVertex::_has_color |
Definition at line 35 of file xFileVertex.h.
bool XFileVertex::_has_uv |
Definition at line 36 of file xFileVertex.h.
LVertexd XFileVertex::_point |
Definition at line 32 of file xFileVertex.h.
LTexCoordd XFileVertex::_uv |
Definition at line 33 of file xFileVertex.h.