sprite trajectory (10deg, 20deg,30deg)

Blitz3D Forums/Blitz3D Beginners Area/sprite trajectory (10deg, 20deg,30deg)

Hi Brendane,

so just to confirm, you think its a good idea to perform COS & SIN every frame ? (I have 4 sprites, and that means 4xCOS and 4xSIN calcs every frame which would be costly on cpu wouldn't it ?)

Or are you saying pre-calc the values and put them in an array ? That way the only hit on the cpu is retrieving the values from the array