Add support for part/triangle id for GIMPACT.

Thanks Alex Silverman:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2032
This commit is contained in:
erwin.coumans
2008-04-07 19:37:04 +00:00
parent f9b22b36aa
commit c1a10fd1fe
2 changed files with 35 additions and 3 deletions

View File

@@ -256,9 +256,39 @@ public:
//!@}
/// Accessor/Mutator pairs for Part and triangleID
void setFace0(int value)
{
m_triface0 = value;
}
int getFace0()
{
return m_triface0;
}
void setFace1(int value)
{
m_triface1 = value;
}
int getFace1()
{
return m_triface1;
}
void setPart0(int value)
{
m_part0 = value;
}
int getPart0()
{
return m_part0;
}
void setPart1(int value)
{
m_part1 = value;
}
int getPart1()
{
return m_part1;
}
};