15 #ifndef __BULLET_BOX_SHAPE_H__
16 #define __BULLET_BOX_SHAPE_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bulletShape.h"
25 #include "collisionBox.h"
36 INLINE
void operator = (
const BulletBoxShape ©);
37 INLINE ~BulletBoxShape();
39 LVecBase3 get_half_extents_without_margin()
const;
40 LVecBase3 get_half_extents_with_margin()
const;
42 static BulletBoxShape *make_from_solid(
const CollisionBox *solid);
45 virtual btCollisionShape *ptr()
const;
55 static void init_type() {
56 BulletShape::init_type();
57 register_type(_type_handle,
"BulletBoxShape",
58 BulletShape::get_class_type());
61 return get_class_type();
65 return get_class_type();
72 #include "bulletBoxShape.I"
74 #endif // __BULLET_BOX_SHAPE_H__
This is the base class for all three-component vectors and points.
A cuboid collision volume or object.
TypeHandle is the identifier used to differentiate C++ class types.