My own circle roation formula.Please check it out.
My own circle roation formula.Please check it out.
I couldn't get the calc rotation transformation formula to work so I made my own. I would like to know the differences in speed and if mine would work fine in a real game.
- Attachments
-
- circle - Copy.rar
- (131.75 KiB) Downloaded 135 times
Computer too slow? Consider running a VM on your toaster.
Re: My own circle roation formula.Please check it out.
I don't understand the question. Your own rotation formula?
You used the basic point translation code but added some extra stuff I don't see the point of it, but yeah.
More simple code would be:
You used the basic point translation code but added some extra stuff I don't see the point of it, but yeah.
More simple code would be:
Code: Select all
angle += 0.1f;
gfx.DrawCircle ( CenterX + radius * cos ( angle ), CenterY + radius * sin ( angle ), 50, 255, 255, 255 );
ʕ •ᴥ•ʔ
Re: My own circle roation formula.Please check it out.
Im saying that I couldnt get the rotation transformation formula to work so I came up with my own. Is there really a difference in speed?
Computer too slow? Consider running a VM on your toaster.