// the line A's normal passing through the origin of B
Vector2f startA = vertsA[0];
Vector2f endA = vertsA[1];
ROVector2f startB = bodyB.getPosition();
Vector2f endB = new Vector2f(endA);
endB.sub(startA);
endB.set(endB.y, -endB.x);
// endB.add(startB);// TODO: inline endB into equations below, this last operation will be useless..
//TODO: reuse mathutil.intersect
// float d = (endB.y - startB.getY()) * (endA.x - startA.x);