I have an assignment where they ask me to calculate Vector Right and Vector Up, it's for a camera creation using C++ and DirectX. For the Vector Right, they specify I should use 90-yaw, so I got:
\$ V_{Right} = \{cos(90-yaw), 0, sin(90-yaw)\}. \$
For Vector Up, I'm still not sure how should I calculate it using yaw and pitch. My initial thought was to set it like this:
\$ V_{Up} = \{cos(yaw) * cos(pitch), sin(pitch), sin(yaw) * cos(pitch)\}. \$
However, I think I'm confusing it with the Forward Vector. I know I can get a rotation matrix and use also cross products to obtain them, but they specify that I should use yaw and pitch and I'm kinda lost here since cannot find a clear answer with the setup I'm mentioning.
Could you help me to find the Up, Right and Direction vectors? (I suppose the direction is the Forward one.)
Any help would be useful!