14#ifndef PHYSXCONVEXFORCEFIELDSHAPE_H
15#define PHYSXCONVEXFORCEFIELDSHAPE_H
27class EXPCL_PANDAPHYSX PhysxConvexForceFieldShape :
public PhysxForceFieldShape {
30 INLINE PhysxConvexForceFieldShape();
31 INLINE ~PhysxConvexForceFieldShape();
36 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
38 void link(NxForceFieldShape *shapePtr);
42 NxConvexForceFieldShape *_ptr;
48 static void init_type() {
49 PhysxForceFieldShape::init_type();
51 PhysxForceFieldShape::get_class_type());
54 return get_class_type();
58 return get_class_type();
A descriptor for a convex force field shape.
void save_to_desc(PhysxConvexForceFieldShapeDesc &shapeDesc) const
Saves the state of the shape object to a descriptor.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...