Hi Peeps.
There was a quite interesting thread about which was better, Sin/cos directly or pre calculated arrays
I would like to ask a similar question. I dont use ^ very much, but whenever I do, there are atleat three ways.
1) I just use ^
2) I use multiplication and divition to fake ^
3) I pre calculate. (Ie, I could have field of the common powers I want Number.Power3)
I use 1) except when its ^2, then I just Multiply 2).
Does anyone have preference, and or advice?
There was a quite interesting thread about which was better, Sin/cos directly or pre calculated arrays
I would like to ask a similar question. I dont use ^ very much, but whenever I do, there are atleat three ways.
1) I just use ^
2) I use multiplication and divition to fake ^
3) I pre calculate. (Ie, I could have field of the common powers I want Number.Power3)
I use 1) except when its ^2, then I just Multiply 2).
Does anyone have preference, and or advice?