added optional striding to ConvexHullShape

This commit is contained in:
ejcoumans
2006-09-07 22:58:29 +00:00
parent 6a0296d437
commit 4365199a47
2 changed files with 8 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ class ConvexHullShape : public PolyhedralConvexShape
std::vector<SimdPoint3> m_points;
public:
ConvexHullShape(SimdPoint3* points,int numPoints);
ConvexHullShape(SimdPoint3* points,int numPoints, int stride=sizeof(SimdPoint3));
void AddPoint(const SimdPoint3& point)
{