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();
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.
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(),...