methode draw triangle