Skip to content

Commit

Permalink
Merge pull request bulletphysics#4234 from szabolcsdombi/szabolcsdomb…
Browse files Browse the repository at this point in the history
…i-patch-1

fix missing getTransformB in btMinkowskiSumShape
  • Loading branch information
erwincoumans authored Apr 15, 2022
2 parents e306b27 + aef1d3e commit 31aeead
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BulletCollision/CollisionShapes/btMinkowskiSumShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ btMinkowskiSumShape : public btConvexInternalShape
void setTransformB(const btTransform& transB) { m_transB = transB; }

const btTransform& getTransformA() const { return m_transA; }
const btTransform& getTransformB() const { return m_transB; }

// keep this for backward compatibility
const btTransform& GetTransformB() const { return m_transB; }

virtual btScalar getMargin() const;
Expand Down

0 comments on commit 31aeead

Please sign in to comment.