Originally Posted by zork
Btw..one point on FPS gain. Has anyone tried hiding the frame before applying the rotation and showing it again right after applying the rotation?
I know this is not SetPoint() but maybe it has an effect like this: http://www.wowinterface.com/forums/s...ad.php?t=46740
|
Yesterday I tried hiding the entire spinner at the start of the Transform function and showing it when it was finished and my framerate was actually substantially
worse.
I'm not sure whether it was simply the overhead of a couple extra function calls or an interaction with something else, but it might bear investigating.
If you're using rotationally symmetrical textures, zork's example is a lot more efficient since it's not necessary to correct the animation's rotation with texture coordinates because it looks the same regardless of its orientation.