As you say Snorri Sturluson writes this cited text in the prologue to his Prose Edda, one of our chief sources of Norse mythology. The old Scandinavian worshipers did not have a written language comparable to that of Latin of the Roman church. As such we have next to nothing about the Norse myths written by Scandinavians who were actively telling these myths and believing in these Norse gods, such as Odin and Thor. Instead we must rely on sources written after the conversion of the Scandinavian homelands and colonies to Christianity.
Snorri wrote his Prose Edda some 200 years after Iceland converted to Christianity, at this point the worship of the old gods had faded. But some of the myths were still known either from scaldic poetry or eddic poems of which he cites throughout his edda, many of them are preserved in the poetic edda. Snorri wrote his prose edda to serve as a handbook to these myths, before they were forgotten. But as a Christian in a Christian society this is not always seen as a good thing, and could get him in trouble. So instead Snorri wrote in his prologue that the gods of old were in reality great men and kings that went north and settled in Scandinavia, here their rule were so beneficial to the Scandinavians that over time they became gods in the mind of the Scandinavian descendants. This approach to gods is called Euhemerism, when you say gods are in reality misremembered heroes and legendary men/women.
Thereby Snorri has made it clear to his audience that this his Prose Edda is not to be taken as a pagan text that could land him in trouble, and thus he is free to present the actual myths and gods in his main text.
So to answer your question: Disregard the prologue and look at the main text. Odin is Thors father.