Panda3D
|
This represents a single normal associated with an XFileFace. More...
#include "xFileNormal.h"
Public Member Functions | |
int | compare_to (const XFileNormal &other) const |
void | set_from_egg (EggVertex *egg_vertex, EggPrimitive *egg_prim) |
Sets the structure up from the indicated egg data. | |
Public Attributes | |
bool | _has_normal |
LNormald | _normal |
This represents a single normal associated with an XFileFace.
It is separate from XFileVertex, because the X syntax supports a different table of normals than that of vertices.
Definition at line 28 of file xFileNormal.h.
XFileNormal::XFileNormal | ( | ) |
Definition at line 22 of file xFileNormal.cxx.
int XFileNormal::compare_to | ( | const XFileNormal & | other | ) | const |
Definition at line 58 of file xFileNormal.cxx.
void XFileNormal::set_from_egg | ( | EggVertex * | egg_vertex, |
EggPrimitive * | egg_prim ) |
Sets the structure up from the indicated egg data.
Definition at line 31 of file xFileNormal.cxx.
References EggNode::get_vertex_frame(), and EggNode::get_vertex_to_node().
Referenced by XFileMesh::add_normal().
bool XFileNormal::_has_normal |
Definition at line 35 of file xFileNormal.h.
LNormald XFileNormal::_normal |
Definition at line 34 of file xFileNormal.h.