edited draw triangle