make getNumPoints const correct, add const getPoints(). Thanks Dirk

http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1725
This commit is contained in:
ejcoumans
2007-11-28 20:14:01 +00:00
parent eb9429ad31
commit 174f6009bb

View File

@@ -44,7 +44,12 @@ public:
return &m_points[0];
}
int getNumPoints()
const btPoint3* getPoints() const
{
return &m_points[0];
}
int getNumPoints() const
{
return m_points.size();
}