24. A semicircular paper piece with diameter $A B=1$ is placed flat on a table, and then it is rotated around one end of the diameter to a certain position, at which point the area it has swept is $\pi$, then the angle through which $A B$ has rotated is $\qquad$ $\circ$.
Answer: 315