The development of trigonometry enabled mathematicians to make precise calculations for the markings on the sundials. Crude sundials—basically a vertical object (even a tree or a person would suffice) are known from as early as 1500 B.C.E. in Egypt.