.
.
.
.
[r7]
- temp.
[r7]
- re-organize codes. which look works fine for the r7_test utest.
.
[r7]
- fix triangle overlap issue.
[r7]
- just organize  code.
[r7]
- Make right edge of top_flat part decrease a pixel, which looks better and reasonable.
[r7]
- remove unused codes.
[r7]
- prepare the texture mapping.
[r7]
- add misssing codes for preparing texture mapping.
[r7]
- texture mapping works.
[r7]
- fix top_flat miss top line. by (add 1).
- fix bottom_flat have extra bottom line. by (nbline-- > 0)
.
[r7]
- fix gap between top_flat/bottom_flat triangles.
[r7]
- the uv should between [0, tex_w - 1].
[r7]
- fix bug when it's a bottom_flat triangle.
[r7]
- clean up unused codes.
- now the texture mapping works fine, except some offset sometimes.