Panda3D
|
Public Types | |
enum | ModeFlags { MF_contact_mu2 = 0x001, MF_contactFDir1 = 0x002, MF_contactBounce = 0x004, MF_contactSoftERP = 0x008, MF_contactSoftCFM = 0x010, MF_contactMotion1 = 0x020, MF_contactMotion2 = 0x040, MF_contactSlip1 = 0x080, MF_contactSlip2 = 0x100, MF_contactApprox0 = 0x0000, MF_contactApprox1_1 = 0x1000, MF_contactApprox1_2 = 0x2000, MF_contactApprox1 = 0x3000 } |
Public Member Functions | |
OdeSurfaceParameters (int mode=0, dReal mu=0) | |
virtual TypeHandle | force_init_type () |
dReal | get_bounce () const |
dReal | get_bounce_vel () const |
int | get_mode () const |
dReal | get_motion1 () const |
dReal | get_motion2 () const |
dReal | get_mu () const |
dReal | get_mu2 () const |
dReal | get_slip1 () const |
dReal | get_slip2 () const |
dReal | get_soft_cfm () const |
dReal | get_soft_erp () const |
const dSurfaceParameters * | get_surface_parameters_ptr () const |
virtual TypeHandle | get_type () const |
void | set_bounce (dReal bounce) |
void | set_bounce_vel (dReal bounce_vel) |
void | set_mode (int mode) |
void | set_motion1 (dReal motion) |
void | set_motion2 (dReal motion) |
void | set_mu (dReal mu) |
void | set_mu2 (dReal mu2) |
void | set_slip1 (dReal slip) |
void | set_slip2 (dReal slip) |
void | set_soft_cfm (dReal soft_cfm) |
void | set_soft_erp (dReal soft_erp) |
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 | |
OdeSurfaceParameters (const dSurfaceParameters &surface_parameters) | |
Friends | |
class | OdeContact |
Definition at line 30 of file odeSurfaceParameters.h.
static void OdeSurfaceParameters::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 TypedObject.
Definition at line 107 of file odeSurfaceParameters.h.
References OdeContact::init_type().