Rotating a Shape

Does anybody know the math formula for making a shape rotate? I have no idea how it's done. Any help would be much appreciated, thanks.
http://en.wikipedia.org/wiki/Rotation_%28mathematics%29#Matrix_algebra


Does this work for you? Found it on wiki - a good resource that.
Looks rather complicated xD, but exactly what I was looking for, thank you.
Topic archived. No new replies allowed.