Disruptive
Programmer
Is there a quicker alternative that someone knows about?
is it quicker in peoples experience to use ifs?
fmod((xpos + Xbox), Xbox)
ALSO
I am toggling between 0 and 1, I use the following code
(currenttoggle + 1) % 2;
which works fine, however I am looking for speed-up.
Any ideas?
Cheers
is it quicker in peoples experience to use ifs?
fmod((xpos + Xbox), Xbox)
ALSO
I am toggling between 0 and 1, I use the following code
(currenttoggle + 1) % 2;
which works fine, however I am looking for speed-up.
Any ideas?
Cheers