Panda3D
|
This specialization on GeomMunger finesses vertices for TinyPanda rendering. More...
#include "tinyGeomMunger.h"
Public Member Functions | |
TinyGeomMunger (GraphicsStateGuardian *gsg, const RenderState *state) | |
ALLOC_DELETED_CHAIN_DECL (TinyGeomMunger) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () 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. | |
Protected Member Functions | |
virtual int | compare_to_impl (const GeomMunger *other) const |
Called to compare two GeomMungers who are known to be of the same type, for an apples-to-apples comparison. | |
virtual | CPT (GeomVertexFormat) munge_format_impl(const GeomVertexFormat *orig |
virtual | CPT (GeomVertexFormat) premunge_format_impl(const GeomVertexFormat *orig) |
virtual int | geom_compare_to_impl (const GeomMunger *other) const |
Called to compare two GeomMungers who are known to be of the same type, for an apples-to-apples comparison. | |
Protected Attributes | |
virtual const GeomVertexAnimationSpec & | animation |
This specialization on GeomMunger finesses vertices for TinyPanda rendering.
This actually doesn't have to do very much, since TinyPanda is not that particular.
Definition at line 30 of file tinyGeomMunger.h.
int TinyGeomMunger::compare_to_impl | ( | const GeomMunger * | other | ) | const [protected, virtual] |
Called to compare two GeomMungers who are known to be of the same type, for an apples-to-apples comparison.
This will never be called on two pointers of a different type.
Reimplemented from StandardMunger.
Definition at line 82 of file tinyGeomMunger.cxx.
Referenced by geom_compare_to_impl().
int TinyGeomMunger::geom_compare_to_impl | ( | const GeomMunger * | other | ) | const [protected, virtual] |
Called to compare two GeomMungers who are known to be of the same type, for an apples-to-apples comparison.
This will never be called on two pointers of a different type.
Reimplemented from StandardMunger.
Definition at line 95 of file tinyGeomMunger.cxx.
References compare_to_impl().
static void TinyGeomMunger::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 StandardMunger.
Definition at line 48 of file tinyGeomMunger.h.
References StandardMunger::init_type().