VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: Same Here Jay Wheeler (2 replies, 0 views) (2000-Aug-3) Adam,
Can you post your code? I'd like to try it and see if the results are perhaps due to different CPUs or coding styles or what, but I think my optimizations were pretty thorough.
BTW, the REALLY good lookup tables don't use degrees OR radians, they use just values from 0 to 256. Then you just use, for instance, 64 as "90 degrees" everywhere in your code. This allows you to use bitshifts instead of divides or something to that effect -- I'm not sure of the details but I know it's REALLY fast, at least in C++.
|