Carpediem,<br><br>That class is not going to work, since we need varying accuracy in the integer part and the fractional parts of the fixed point numbers. It WOULD however be very nice if we would have a fixed point class with adjustable precision (int/frac), and small pieces of ASM code for multiplications using 64bit intermediate results.<br><br>By the way, I finished that CalcGradients function last night. I need to fine tune a couple of things, and I have to fix the sprite code a bit, but after that I have a rather large amount of new stuff for you guys:<br><br>1. The CalcGradients function is now fixed point and calculates the texture projection matrix in fixed point too, so the conversion of this matrix to fixed point by the scan renderer is no longer neccessary<br>2. The span renderer and the z-span code are now merged (that's faster, of course, especially since those functions contain mostly the same code)<br>3. The sky is now drawn without perspective correction (unnoticeable)<br><br>That's about it. Maybe some small changes, but this is the main part. I will fix up the sprite code and send Dan a long list of instructions to merge this with the original code. After that, I consider my job done, and I will continue to work on 'new' software.
<br><br>- Jacco.