Exposed additional members of btManifoldPoint.

This commit is contained in:
enn0x 2011-12-05 22:25:18 +00:00
parent 05caa603bb
commit e15f8fd87e
2 changed files with 49 additions and 0 deletions

View File

@ -101,3 +101,47 @@ get_local_point_b() const {
return btVector3_to_LPoint3(_pt.m_localPointB);
}
////////////////////////////////////////////////////////////////////
// Function: BulletManifoldPoint::get_part_id0
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
int BulletManifoldPoint::
get_part_id0() const {
return _pt.m_partId0;
}
////////////////////////////////////////////////////////////////////
// Function: BulletManifoldPoint::get_part_id1
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
int BulletManifoldPoint::
get_part_id1() const {
return _pt.m_partId1;
}
////////////////////////////////////////////////////////////////////
// Function: BulletManifoldPoint::get_index0
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
int BulletManifoldPoint::
get_index0() const {
return _pt.m_index0;
}
////////////////////////////////////////////////////////////////////
// Function: BulletManifoldPoint::get_index1
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
int BulletManifoldPoint::
get_index1() const {
return _pt.m_index1;
}

View File

@ -39,6 +39,11 @@ PUBLISHED:
LPoint3 get_local_point_a() const;
LPoint3 get_local_point_b() const;
int get_part_id0() const;
int get_part_id1() const;
int get_index0() const;
int get_index1() const;
public:
BulletManifoldPoint(btManifoldPoint &pt);