rename contact areas to contact polygons

This commit is contained in:
Irlan 2018-04-07 01:34:11 -03:00
parent 54202454ea
commit 6dd32061d7

View File

@ -130,6 +130,8 @@ void b3World::DebugDraw() const
b3_debugDraw->DrawSegment(p, p + t2, b3Color_yellow);
}
if (m->pointCount > 2)
{
if (flags & b3Draw::e_contactPolygonsFlag)
{
b3_debugDraw->DrawSolidPolygon(wm.normal, points, m->pointCount, b3Color_pink);
@ -137,6 +139,7 @@ void b3World::DebugDraw() const
}
}
}
}
}
void b3World::DrawShape(const b3Transform& xf, const b3Shape* shape) const