- goes in a loop,
- draws current window
- sets view transform to correct matrix
- you can draw stuff
- swapbuffers
- event queue test to escape
Test: CTRL+R in editmode.
Right now it hilites the closest edge to to mouse cursor, just for fun!
Goofster will use it for the loop-cutter tool later. But the template
will remain there, commented out, for others to play with.