14 #ifndef PHYSXCONVEXFORCEFIELDSHAPE_H 15 #define PHYSXCONVEXFORCEFIELDSHAPE_H 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();
67 #endif // PHYSXCONVEXFORCEFIELDSHAPE_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A descriptor for a convex force field shape.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A convex shaped region used to define force field.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for force field shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.