Search found 2 matches

by Andy Amaya
Wed Aug 06, 2003 2:51 am
Forum: General Discussion
Topic: Math() - OpenSource please!!!
Replies: 10
Views: 3935

There's a publicly available random number generator called the 'Mersenne Twister'. It's probably one of the best random number generators available, if not the best.

Have a look at: http://www.math.keio.ac.jp/~matumoto/emt.html

It's already been coded in many computer languages and looks to me ...
by Andy Amaya
Wed Jul 23, 2003 4:22 am
Forum: Game Programming
Topic: 3D object flips sometimes the wrong way around
Replies: 3
Views: 2589

Hi new to Pure Basic, but not to programming.

I know little to nothing about the 3D portion of the code, but in the loop to assign values to _cos() and _sin(), use the following format to obtain radian equivalent of degree results.

_cos(i) = Cos(i * 3.1415926/180)
_sin(i) = Sin(i * 3.1415926/180 ...