public override void ComputeAABB(AABB aabb, Transform xf, int childIndex)
{
Debug.Assert(childIndex < Count);
int i1 = childIndex;
int i2 = childIndex + 1;
if (i2 == Count)
{
i2 = 0;
}
Vec2 v1 = pool1;
Vec2 v2 = pool2;
Transform.MulToOutUnsafe(xf, Vertices[i1], v1);
Transform.MulToOutUnsafe(xf, Vertices[i2], v2);
Vec2.MinToOut(v1, v2, aabb.LowerBound);
Vec2.MaxToOut(v1, v2, aabb.UpperBound);
}