15 #ifndef PHYSXCONVEXFORCEFIELDSHAPE_H 16 #define PHYSXCONVEXFORCEFIELDSHAPE_H 18 #include "pandabase.h" 20 #include "physxForceFieldShape.h" 21 #include "physx_includes.h" 33 INLINE ~PhysxConvexForceFieldShape();
39 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
41 void link(NxForceFieldShape *shapePtr);
45 NxConvexForceFieldShape *_ptr;
52 static void init_type() {
53 PhysxForceFieldShape::init_type();
54 register_type(_type_handle,
"PhysxConvexForceFieldShape",
55 PhysxForceFieldShape::get_class_type());
58 return get_class_type();
62 return get_class_type();
69 #include "physxConvexForceFieldShape.I" 71 #endif // PHYSXCONVEXFORCEFIELDSHAPE_H A descriptor for a convex force field shape.
A convex shaped region used to define force field.
Abstract base class for force field shapes.
TypeHandle is the identifier used to differentiate C++ class types.