Hey Erin,
Just thought this might be useful if you're using image sprites which don't
care about vertices.
Having the rotation angle and the positions of shapes for drawing all the shapes
of a particular body.
edit:
I'm trying to use sprite images instead of polygons for the shapes. So for the positions of polygons do I average all the vertices after the multiplication by the rotation matrix?
Or is the center of the polygon stored somewhere?
Thanks,
Mike
Just thought this might be useful if you're using image sprites which don't
care about vertices.
Having the rotation angle and the positions of shapes for drawing all the shapes
of a particular body.
edit:
I'm trying to use sprite images instead of polygons for the shapes. So for the positions of polygons do I average all the vertices after the multiplication by the rotation matrix?
Or is the center of the polygon stored somewhere?
Thanks,
Mike