14#ifndef PHYSXSPHEREFORCEFIELDSHAPE_H
15#define PHYSXSPHEREFORCEFIELDSHAPE_H
36 void set_radius(
float radius);
38 float get_radius()
const;
41 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
43 void link(NxForceFieldShape *shapePtr);
47 NxSphereForceFieldShape *_ptr;
53 static void init_type() {
54 PhysxForceFieldShape::init_type();
56 PhysxForceFieldShape::get_class_type());
59 return get_class_type();
63 return get_class_type();
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.
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.
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(),...