rename contact areas to contact polygons
This commit is contained in:
@ -130,6 +130,8 @@ void b3World::DebugDraw() const
|
|||||||
b3_debugDraw->DrawSegment(p, p + t2, b3Color_yellow);
|
b3_debugDraw->DrawSegment(p, p + t2, b3Color_yellow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m->pointCount > 2)
|
||||||
|
{
|
||||||
if (flags & b3Draw::e_contactPolygonsFlag)
|
if (flags & b3Draw::e_contactPolygonsFlag)
|
||||||
{
|
{
|
||||||
b3_debugDraw->DrawSolidPolygon(wm.normal, points, m->pointCount, b3Color_pink);
|
b3_debugDraw->DrawSolidPolygon(wm.normal, points, m->pointCount, b3Color_pink);
|
||||||
@ -138,6 +140,7 @@ void b3World::DebugDraw() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void b3World::DrawShape(const b3Transform& xf, const b3Shape* shape) const
|
void b3World::DrawShape(const b3Transform& xf, const b3Shape* shape) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user