How to rotate an entire group
Help me please
I hope somebody can help me.
Help me please
Glad to hear you came up with a nice algorithm
One suggestion - you may want to consider calculating certain variables (ex: r*wd or wd*t, but definitely with the Sine and Cosine functions) once and store them in a variable rather than calculating them multiple times using the same values.
Depending on how much time you wanted to invest in making this more efficient, you could actually create an array of precomputed Sine, Cosine values (either statically and copy/paste them into a file or dynamically on each startup) and then reference them later using an index. No matter what language you're using, Sine and Cosine are always slow, but frequently useful depending on what you're looking to do 
-Mike
[Stardock Support]
Welcome Guest! Please take the time to register with us.