Hi, Experts,
I am trying to write a camera class, the structure is following:
class CCamera {
public:
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!