15 #include "bulletMinkowskiSumShape.h" 17 TypeHandle BulletMinkowskiSumShape::_type_handle;
24 BulletMinkowskiSumShape::
27 nassertv(shape_a->is_convex());
28 nassertv(shape_b->is_convex());
30 const btConvexShape *ptr_a = (
const btConvexShape *)shape_a->ptr();
31 const btConvexShape *ptr_b = (
const btConvexShape *)shape_b->ptr();
33 _shape =
new btMinkowskiSumShape(ptr_a, ptr_b);
34 _shape->setUserPointer(
this);
45 btCollisionShape *BulletMinkowskiSumShape::
TypeHandle is the identifier used to differentiate C++ class types.