for (int i = 0; i < bodies.length; ++i) {
final int next = (i == bodies.length - 1) ? 0 : i + 1;
delta.set(toExtrude * (normals[i].x + normals[next].x), toExtrude
* (normals[i].y + normals[next].y));
// sumdeltax += dx;
float normSqrd = delta.lengthSquared();
if (normSqrd > Settings.maxLinearCorrection * Settings.maxLinearCorrection) {
delta.mulLocal(Settings.maxLinearCorrection / MathUtils.sqrt(normSqrd));
}
if (normSqrd > Settings.linearSlop * Settings.linearSlop) {
done = false;