Panda3D
|
This corresponds to a <SwitchCondition> entry within a group. More...
#include "eggSwitchCondition.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
virtual EggSwitchCondition * | make_copy () const =0 |
virtual void | transform (const LMatrix4d &mat)=0 |
virtual void | write (ostream &out, int indent_level) const =0 |
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. |
This corresponds to a <SwitchCondition> entry within a group.
It indicates the condition at which a level-of-detail is switched in or out. This is actually an abstract base class for potentially any number of specific different kinds of switching conditions; presently, only a <Distance> type is actually supported.
Definition at line 33 of file eggSwitchCondition.h.
static void EggSwitchCondition::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 EggObject.
Reimplemented in EggSwitchConditionDistance.
Definition at line 46 of file eggSwitchCondition.h.
References EggObject::init_type().
Referenced by EggSwitchConditionDistance::init_type().