Cleanup polygonize a bit

Extract the triangulation and triangle merging code into a new source file and clean it up somewhat

Reduce indent level

Let's try to keep the amount of indents in check...

Allow make a cylinder even if the world position is not on grid

Improve preview of cylinder extrusion

Added rudimentary cylinder extrusion into circle tool.

Improve click handling

Fix right click to delete not really working properly

Use different cursors depending on edit mode

Simplify some code

Fixed ModelId being used to identify both models and elements, added ElementId to identify elements

add comments in colors.h

simplify a bit

Enable drawing clockwise shapes despite mapbox::earcut rewinding them

(0) -300 -100 -15 +15 tip

mercurial