Panda3D
|
A convex shaped region used to define force field. More...
#include "physxConvexForceFieldShape.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
void | link (NxForceFieldShape *shapePtr) |
NxForceFieldShape * | ptr () const |
void | save_to_desc (PhysxConvexForceFieldShapeDesc &shapeDesc) const |
Saves the state of the shape object to a descriptor. | |
void | unlink () |
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. |
A convex shaped region used to define force field.
Definition at line 29 of file physxConvexForceFieldShape.h.
static void PhysxConvexForceFieldShape::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 PhysxForceFieldShape.
Definition at line 52 of file physxConvexForceFieldShape.h.
References PhysxForceFieldShape::init_type().
void PhysxConvexForceFieldShape::save_to_desc | ( | PhysxConvexForceFieldShapeDesc & | shapeDesc | ) | const |
Saves the state of the shape object to a descriptor.
Definition at line 60 of file physxConvexForceFieldShape.cxx.