rename contact areas to contact polygons
This commit is contained in:
parent
54202454ea
commit
6dd32061d7
@ -130,9 +130,12 @@ void b3World::DebugDraw() const
|
||||
b3_debugDraw->DrawSegment(p, p + t2, b3Color_yellow);
|
||||
}
|
||||
|
||||
if (flags & b3Draw::e_contactPolygonsFlag)
|
||||
if (m->pointCount > 2)
|
||||
{
|
||||
b3_debugDraw->DrawSolidPolygon(wm.normal, points, m->pointCount, b3Color_pink);
|
||||
if (flags & b3Draw::e_contactPolygonsFlag)
|
||||
{
|
||||
b3_debugDraw->DrawSolidPolygon(wm.normal, points, m->pointCount, b3Color_pink);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -252,5 +255,5 @@ void b3World::DrawJoint(const b3Joint* joint) const
|
||||
|
||||
void b3World::DrawContact(const b3Contact* c) const
|
||||
{
|
||||
B3_NOT_USED(c);
|
||||
B3_NOT_USED(c);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user