15 #ifndef PHYSXBOXSHAPE_H 16 #define PHYSXBOXSHAPE_H 18 #include "pandabase.h" 21 #include "physxShape.h" 22 #include "physx_includes.h" 45 INLINE ~PhysxBoxShape();
49 void set_dimensions(
const LVector3f &dimensions);
54 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
56 void link(NxShape *shapePtr);
67 static void init_type() {
68 PhysxShape::init_type();
69 register_type(_type_handle,
"PhysxBoxShape",
70 PhysxShape::get_class_type());
73 return get_class_type();
77 return get_class_type();
84 #include "physxBoxShape.I" 86 #endif // PHYSXBOXSHAPE_H Abstract base class for shapes.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
A box shaped collision detection primitive.
Descriptor class for PhysxBoxShape.
TypeHandle is the identifier used to differentiate C++ class types.