Hello guys, I'm programming a class in C++ that generates a circular signal. The signal consists of a sin and cos in perpendicular directions. The user has to input the norm to the surface, and the program generates the sine and cosine in 2 perpendicular directions to that norm to generate the circular signal. The question is the following. If the user provided this vector, how can I find those 2 perpendicular vectors? I think this problem can be reduced to finding the Euler angles that rotated this vector from being parallel to the z plane. So that the cosine remains on the x-axis, and the sine on the y-axis. Is it possible to decompose it that way?