15 #ifndef PHYSXBOXFORCEFIELDSHAPE_H
16 #define PHYSXBOXFORCEFIELDSHAPE_H
18 #include "pandabase.h"
21 #include "physxForceFieldShape.h"
22 #include "physx_includes.h"
34 INLINE ~PhysxBoxForceFieldShape();
38 void set_dimensions(
const LVector3f &dimensions);
43 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
45 void link(NxForceFieldShape *shapePtr);
49 NxBoxForceFieldShape *_ptr;
56 static void init_type() {
57 PhysxForceFieldShape::init_type();
58 register_type(_type_handle,
"PhysxBoxForceFieldShape",
59 PhysxForceFieldShape::get_class_type());
62 return get_class_type();
66 return get_class_type();
73 #include "physxBoxForceFieldShape.I"
75 #endif // PHYSXBOXFORCEFIELDSHAPE_H
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Abstract base class for force field shapes.
A box shaped region used to define a force field.
TypeHandle is the identifier used to differentiate C++ class types.
Descriptor for a box force field shape.