15 #ifndef PHYSXSPHEREFORCEFIELDSHAPE_H
16 #define PHYSXSPHEREFORCEFIELDSHAPE_H
18 #include "pandabase.h"
21 #include "physxForceFieldShape.h"
22 #include "physx_includes.h"
34 INLINE ~PhysxSphereForceFieldShape();
38 void set_radius(
float radius);
40 float get_radius()
const;
44 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
46 void link(NxForceFieldShape *shapePtr);
50 NxSphereForceFieldShape *_ptr;
57 static void init_type() {
58 PhysxForceFieldShape::init_type();
59 register_type(_type_handle,
"PhysxSphereForceFieldShape",
60 PhysxForceFieldShape::get_class_type());
63 return get_class_type();
67 return get_class_type();
74 #include "physxSphereForceFieldShape.I"
76 #endif // PHYSXSPHEREFORCEFIELDSHAPE_H
Abstract base class for force field shapes.
A descriptor for a sphere force field shape.
A spherical force field shape.
TypeHandle is the identifier used to differentiate C++ class types.