Merge pull request #444 from AndrewMeadows/btCompoundShape-with-protected-data-memebers

Make btCompoundShape data members protected instead of private
This commit is contained in:
erwincoumans
2015-08-03 17:00:23 -07:00

View File

@@ -53,6 +53,7 @@ SIMD_FORCE_INLINE bool operator==(const btCompoundShapeChild& c1, const btCompou
/// Currently, removal of child shapes is only supported when disabling the aabb tree (pass 'false' in the constructor of btCompoundShape)
ATTRIBUTE_ALIGNED16(class) btCompoundShape : public btCollisionShape
{
protected:
btAlignedObjectArray<btCompoundShapeChild> m_children;
btVector3 m_localAabbMin;
btVector3 m_localAabbMax;
@@ -64,7 +65,6 @@ ATTRIBUTE_ALIGNED16(class) btCompoundShape : public btCollisionShape
btScalar m_collisionMargin;
protected:
btVector3 m_localScaling;
public: