How was the world divided after the war between the titans and Zeus?

Well firstly, All the Gods thought that Zeus should be King and then Zeus cut three straws to find out who should get what in the world and of course Hades got the shortest straw and got the underworld and Posieden got the sea and Zeus got the longest straw which is the sky