Remove an unecessary function that draws a triangle using per-vertex coloring
Cut camera implementation and paste into draw.cpp
Use per-triangle tension mapping
Since I started altering the testbed for better maintainability, I prefered to drop this (tested) large change with a single commit. Some changes below:
Put some globals in their correct place,
Now Testbed uses the MVC pattern (Model-View Controller). This way it becomes better to maintain than using no pattern in my opinion.
Fixed some bugs in the debug draw interface.
Of course, updated almost all tests because of the differences.
Update script.