If the pair of lines given by \[(x \cos \alpha+y \sin \alpha)^2=\left(x^2+y^2\right) \sin ^2 \alpha\] are perpendicular to each other, then \[\alpha\] is