If \( \vec{a} \) and \( \vec{b} \) are constant vectors, \( \vec{r} \) and \( \vec{p} \) are generalized positions and conjugate momenta, respectively, then for the transformation \( Q = \vec{a} \cdot \vec{r} \) and \( P = \vec{b} \cdot \vec{r} \) to be canonical, the value of \( \vec{a} \cdot \vec{b} \) (in integer) is \(\underline{\hspace{2cm}}\).