Panda3D
|
The set of named auxiliary data that may or may not be assigned to a vertex. More...
#include "eggVertexAux.h"
Public Member Functions | |
EggVertexAux (const string &name, const LVecBase4d &aux) | |
EggVertexAux (const EggVertexAux ©) | |
int | compare_to (const EggVertexAux &other) const |
An ordering operator to compare two vertices for sorting order. | |
virtual TypeHandle | force_init_type () |
const LVecBase4d & | get_aux () const |
Returns the auxiliary data quadruple. | |
virtual TypeHandle | get_type () const |
EggVertexAux & | operator= (const EggVertexAux ©) |
void | set_aux (const LVecBase4d &aux) |
Sets the auxiliary data quadruple. | |
void | set_name (const string &name) |
void | write (ostream &out, int indent_level) const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
The set of named auxiliary data that may or may not be assigned to a vertex.
Panda will import this data and create a custom column for it in the vertex data, but will not otherwise interpret it. Presumably, a shader will process the data later.
Definition at line 33 of file eggVertexAux.h.
int EggVertexAux::compare_to | ( | const EggVertexAux & | other | ) | const |
An ordering operator to compare two vertices for sorting order.
This imposes an arbitrary ordering useful to identify unique vertices.
Definition at line 91 of file eggVertexAux.cxx.
References LVecBase4d::compare_to().
const LVecBase4d & EggVertexAux::get_aux | ( | ) | const [inline] |
Returns the auxiliary data quadruple.
Definition at line 32 of file eggVertexAux.I.
static void EggVertexAux::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from EggNamedObject.
Definition at line 55 of file eggVertexAux.h.
References EggNamedObject::init_type().
void EggVertexAux::set_aux | ( | const LVecBase4d & | aux | ) | [inline] |
Sets the auxiliary data quadruple.
Definition at line 42 of file eggVertexAux.I.