If a regular polygon is inscribed in a circle the sum of all the angles subtended by its sides at the centre is