His method was fundamentally sound though. He realized that moonlight is reflected sunlight, and that if you observe the angle between the sun and the moon in the sky at exactly half moon, you can calculate the distance to the sun relative to the distance to the moon.