I have this algorithm set (In my mind) which requires me to cast float to int many times in a loop(about 300 times for each 16 milli seconds) . My question is this:
How costly is process of casting from float to int in java/android and will it cause the game to slow down ?
Is it cheap enough to be implemented by my game? if not, what are the other options to convert decimal to integer?
Edit: Question solved!