Problem when converting a rotation to vector C++

Thanks for the information