add obsolete 'getPoints' to be backwards compatible (breaks MayaPlugin)
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
||||
|
||||
void addPoint(const btVector3& point);
|
||||
|
||||
|
||||
btVector3* getUnscaledPoints()
|
||||
{
|
||||
return &m_unscaledPoints[0];
|
||||
@@ -47,6 +48,15 @@ public:
|
||||
return &m_unscaledPoints[0];
|
||||
}
|
||||
|
||||
///getPoints is obsolete, please use getUnscaledPoints
|
||||
const btVector3* getPoints() const
|
||||
{
|
||||
return getUnscaledPoints();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
SIMD_FORCE_INLINE btVector3 getScaledPoint(int i) const
|
||||
{
|
||||
return m_unscaledPoints[i] * m_localScaling;
|
||||
|
||||
Reference in New Issue
Block a user