Added polar grid snapping code.

Added polar grid rendering (which is disabled for now).

Grid::snap now snaps points.

Simplified Grid::snap.

At long last, the grid is finally now rendered onto the viewport. Woop!

Added support for ideal co-ordinates, which should make writing editing tools a lot easier. For some reason they don't yet work with the back and right cameras.

(0) -1000 -300 -100 -30 -10 -6 +6 +10 +30 +100 tip

mercurial