I have been desperately trying to get a polygon created with the jit.gl.sketch cmdlist to rotate around it's own axis, and not the axis of the screen. So far, I didn't make it. Tried fooling around with the glmatrixmode, didn't really help, quite possibly I'm missing something fundemental.
The difference can be noticed if the polygon is translated off the center of the frame- it then still rotates around the center of the screen instead of around itself.
Is "self centered" rotation possible? If so I would love to know how... A small example patch follows. To see where I'm going with this, look at my previous (and sadly unanswered..) question in the forum about creating and controlling a "shatter-like effect" with jitter.
Here's the patch, Thanks,