I look square from outside.
I look round when opened.
I look triangle when taken out.


What am I?

I am a pizza.