it was open to the sea on three sides , the fourth side giving back into the main building , and although it had no wall or rail , it had stout pillars upon which sat a pointed roof like a chinese hat .