With this precision level, temples (and other buildings) were built by local architecture knowledge.

The main temple of Mathura, Kesava Deo Temple, was so colossal that Ghazni guessed that it would take 200 years to build similar in his own country. His secretary wrote in his account “It was much beyond any descriptions and grandeur!”. Yet, it was reduced to rubble, after tons of precious metal and stones looted.

So many such precision works were destroyed and common mass of last two centuries were kept ignorant about them. So for them, only way to measure physical things is western way!