In the beggining they only ate that which came from the earth.
Gen 1:29 And God said, Behold, I have given you every herb bearing seed, which is upon the face of all the earth, and every tree, in the which is the fruit of a tree yielding seed; to you it shall be for meat.
Even the animals ate only vegetation as well. That is why in the end time it is going back to the original form in which the Lion will lie down with the Lamb.
Gen 1:30 And to every beast of the earth, and to every fowl of the air, and to every thing that creepeth upon the earth, wherein there is life, I have given every green herb for meat: and it was so.
After the flood God Gave the commandment to eat animal flesh for food. It is the common belief that the earth was a green house in which there was vegetation all around the earth from pole to pole. In this there was enough vegetation to sustain even the dinosaurs. Recently they discovered the wooly mamoth in Siberia which had tropical vegetation in its stomach. Where did this come from when Siberia is a frozen wasteland.
Gen 9:3 Every moving thing that liveth shall be meat for you; even as the green herb have I given you all things.
Gen 9:4 But flesh with the life thereof, which is the blood thereof, shall ye not eat.
This is called the green house effect. Whether it was an ice layer as some believe or just clouds the effect was an even temperature all around the world. Thus no need for clothing or protection from the suns uv rays.
2Pe 3:5 For this they willingly are ignorant of, that by the word of God the heavens were of old, and the earth standing out of the water and in the water:
Gen 7:11 In the six hundredth year of Noah's life, in the second month, the seventeenth day of the month, the same day were all the fountains of the great deep broken up, and the windows of heaven were opened.
Gen 7:12 And the rain was upon the earth forty days and forty nights.
Gen 8:2 The fountains also of the deep and the windows of heaven were stopped, and the rain from heaven was restrained;