20 INLINE BulletMinkowskiSumShape::
21 ~BulletMinkowskiSumShape() {
31 INLINE BulletMinkowskiSumShape::
34 _shape_a(copy._shape_a),
35 _shape_b(copy._shape_b) {
43 INLINE
void BulletMinkowskiSumShape::
46 _shape_a = copy._shape_a;
47 _shape_b = copy._shape_b;
55 INLINE
void BulletMinkowskiSumShape::
56 set_transform_a(
const TransformState *ts) {
59 _shape->setTransformA(TransformState_to_btTrans(ts));
67 INLINE
void BulletMinkowskiSumShape::
68 set_transform_b(
const TransformState *ts) {
71 _shape->setTransformB(TransformState_to_btTrans(ts));
80 get_transform_a()
const {
82 return btTrans_to_TransformState(_shape->getTransformA());
91 get_transform_b()
const {
93 return btTrans_to_TransformState(_shape->GetTransformB());
101 INLINE
const BulletShape *BulletMinkowskiSumShape::
102 get_shape_a()
const {
112 INLINE
const BulletShape *BulletMinkowskiSumShape::
113 get_shape_b()
const {
123 INLINE PN_stdfloat BulletMinkowskiSumShape::
126 return (PN_stdfloat)_shape->getMargin();