Added support for triangles - yay :)