fix assert
This commit is contained in:
@ -63,7 +63,7 @@ struct b3PIMap
|
||||
//
|
||||
static b3Vec3 b3ComputeCentroid(b3QHull* hull)
|
||||
{
|
||||
B3_ASSERT(hull->vertexCount >= 3);
|
||||
B3_ASSERT(hull->vertexCount >= 4);
|
||||
|
||||
// volume = int(dV)
|
||||
float32 volume = 0.0f;
|
||||
|
@ -112,7 +112,7 @@ void b3HullShape::ComputeMass(b3MassData* massData, float32 density) const
|
||||
// Here, it was used the great SymPy.
|
||||
// SymPy was available at http://live.sympy.org/
|
||||
|
||||
B3_ASSERT(m_hull->vertexCount >= 3);
|
||||
B3_ASSERT(m_hull->vertexCount >= 4);
|
||||
|
||||
// Put the hull relative to a point that is inside the hull
|
||||
// to help reducing round-off errors.
|
||||
|
Reference in New Issue
Block a user