29 #ifndef opengl_CCamera_H
30 #define opengl_CCamera_H
39 class COpenGLViewport;
57 float m_pointingX,m_pointingY,m_pointingZ;
59 float m_azimuthDeg,m_elevationDeg;
61 bool m_projectiveModel;
62 float m_projectiveFOVdeg;
67 void setPointingAt(
float x,
float y,
float z) { m_pointingX=x; m_pointingY=y; m_pointingZ=z; }
69 template <
class POSEORPOINT>
70 void setPointingAt(
const POSEORPOINT &p)
74 m_pointingZ=p.is3DPoseOrPoint() ? p.m_coords[2] : 0;