14 #ifndef PHYSXCAPSULEFORCEFIELDSHAPE_H 15 #define PHYSXCAPSULEFORCEFIELDSHAPE_H 36 void set_radius(
float radius);
37 void set_height(
float height);
39 float get_radius()
const;
40 float get_height()
const;
43 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
45 void link(NxForceFieldShape *shapePtr);
49 NxCapsuleForceFieldShape *_ptr;
55 static void init_type() {
56 PhysxForceFieldShape::init_type();
58 PhysxForceFieldShape::get_class_type());
61 return get_class_type();
65 return get_class_type();
74 #endif // PHYSXCAPSULEFORCEFIELDSHAPE_H 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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for force field shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A capsule shaped region used to define a force field.
TypeHandle is the identifier used to differentiate C++ class types.
Descriptor for a capsule force field shape.