title: How to get Yaw, Pitch and Roll from a 3D vector
body: <p>I have a direction vector that applied to a position gives me the point at which the camera should look. How can I get from that yaw, pitch and roll in order to use glRotatef properly?</p>
  
  <p>Thanks in advance</p>