Original Post
I have the following camera structure -- > struct stCAMERA { CVector3f vPosition; CVector3f vDirection; CVector3f vUp; }; and a model symbolizing the camera. Now I want to rotate the model so its 'front' always facing the same direction as the camera. I though that this could be done by calculating the angle between the cameras position/direction vector, convert the value to degrees and then rotate the model using glRotatef(), but that didn't worked:) Could some1 plz explain how to do this.