Back in the days, I wrote a Point and Matrix implementation for these purposes, maybe it can help you understand the math behind things. Today, I believe PyMEL provides similar functionality out of the box.
Especially see the rotate() method of Point.
Best,
Marcus
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2cbe8989-10ea-4f60-9ba7-4d17685f5704%40googlegroups.com.