Other comments on Mesa code
The structure VB (vertex buffer) contains the triangle vertices
- The first triangle is defined by vertices VB->Win[0], VB->Win[1], VB->Win[2]
Many variables are kept in both floating and fixed point format. The fixed point format that Mesa uses is defined in ‘fixed.h’.
- There are various conversion macros in here that might be useful if you are adding print statements to the code for examining values.