Getting rotation of shape

Hey all,

I'm starting a new project, so (in view of the dramatic API changes between the last release and SVN) I am using the SVN version in hopes of futureproofing a little bit.

However, in the past, I was converting a vertex into worldspace with a line similar to this:
b2Vec2 v = poly->m_position + b2Mul(poly->m_R, poly->m_vertices[i]);

This let me render a polygon shape by simply iterating over its vertices. As far as I can tell, from a few minutes of poking around, rotation and position information has moved from the shapes into the bodies.

I'm sure I'll be able to figure this out with some frustration/experimentation, but if anyone can give me some hints as to how the above task (turning a vertex into worldspace coordinates at which I can render) the "correct" way, I would very much appreciate it.

Thanks!
Here's how to do it:

Code:
int32 count = poly->GetVertexCount();
const b2Vec2* vertices = poly->GetVertices();
const b2XForm& xf = poly->GetBody()->GetXForm();

for (int32 i = 0; i < count; ++i)
{
    b2Vec2 v = b2Mul(xf, vertices[i]);
    ...
}
Thank you!

Original thread: https://box2d.org/forum/viewtopic.php?t=387