A triangle has a side as diameter of a circle, and three of its vertices lie on the circle. What type of triangle is this?