Go to the documentation of this file.
14 #ifndef PHYSXBOXFORCEFIELDSHAPE_H
15 #define PHYSXBOXFORCEFIELDSHAPE_H
35 void set_dimensions(
const LVector3f &dimensions);
36 LVector3f get_dimensions()
const;
39 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
41 void link(NxForceFieldShape *shapePtr);
45 NxBoxForceFieldShape *_ptr;
51 static void init_type() {
52 PhysxForceFieldShape::init_type();
54 PhysxForceFieldShape::get_class_type());
57 return get_class_type();
61 return get_class_type();
70 #endif // PHYSXBOXFORCEFIELDSHAPE_H
Descriptor for a box force field shape.
Abstract base class for force field shapes.
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(),...
A box shaped region used to define a force field.
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.