mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Exposed additional members of btManifoldPoint.
This commit is contained in:
parent
05caa603bb
commit
e15f8fd87e
@ -101,3 +101,47 @@ get_local_point_b() const {
|
|||||||
return btVector3_to_LPoint3(_pt.m_localPointB);
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -39,6 +39,11 @@ PUBLISHED:
|
|||||||
LPoint3 get_local_point_a() const;
|
LPoint3 get_local_point_a() const;
|
||||||
LPoint3 get_local_point_b() 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:
|
public:
|
||||||
BulletManifoldPoint(btManifoldPoint &pt);
|
BulletManifoldPoint(btManifoldPoint &pt);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user