- last login
Greetings ynos,You'll have to do it in multiple runs. This is because surfaceTransformPoints (as well as transformPoints)was designed to do basic space transformations, one at a time. Additionally, there is (or at least was) a known bug where for rotating 180 degrees it requires that we do 2 runs of 90 degrees each... or something like that.
So - if I understood you correctly - in your case:
Translate points, so that the new origin coincides with the rotation center you want.
Rotate points, as you intended.
Translate back again, using the opposite vector used for the first step.