First commit : triangulation works