Triangle + uniformiser autres functions

Tringle Finished : clean + comments