View Full Version : about Yaw-Pitch-Roll

03-22-2003, 12:07 PM
Hi, Experts,
I am trying to write a camera class, the structure is following:

class CCamera {

CVector3 m_vPosition; // The camera's position
CVector3 m_vView; // The camera's View
CVector3 m_vUpVector; // The camera's UpVector


Here CVector3 is my class that expresses the xyz coordinate.

I want to realize Yaw,Pitch and Roll, but I am not sure how to do?
please tell me your idea!

Appreciate your help!