Merge remote-tracking branch 'github/jarvis'

This commit is contained in:
Adam
2017-08-13 20:04:44 -04:00
11 changed files with 434 additions and 20 deletions

View File

@@ -252,6 +252,14 @@ public class DevToolsOverlay extends Overlay
{
OverlayUtil.renderTileOverlay(graphics, gameObject, "ID: " + gameObject.getId(), GREEN);
}
// Draw a polygon around the convex hull
// of the model vertices
Polygon p = gameObject.getConvexHull();
if (p != null)
{
graphics.drawPolygon(p);
}
}
}
}