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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user