Problems with precalculated arrays.

Blitz3D Forums/Blitz3D Beginners Area/Problems with precalculated arrays.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

oldTime#=MilliSecs() 

For loop = 1 To 5000000
	a = Cos(loop)
Next
newtime# = MilliSecs()
dif# = newtime - oldtime 

Print "Still waiting!" + dif


Run this on your system.

My system can do around 5 million calcs a second or 83,000
calcs every frame assumming your game is running at 60 frames a sec.