Could someone please help me with this proof?

Prove that any polygon with interior angles at most pi is convex.

I was trying to prove this by induction beginning with a triangle by defining planes that lie against a side of the polygon and extend to contain the polygon itself. So each point of the polygon lies inside the intersection of all such planes. I don't seem to be getting anywhere though... Any suggestions? Thanks!