You pass drawtriangle just a triangle and not all of its positions