made degree order for triangualtion