1 #ifndef PERSPECTIVECAMERA_HXX
2 #define PERSPECTIVECAMERA_HXX
6 class PerspectiveCamera : public Camera
9 PerspectiveCamera(const Vec3f& pos,
18 virtual bool InitRay(float x, float y, Ray &ray);
21 //! hidden constructors to prevent misuse. If you need those at some point, just make them public and implement them properly!
23 PerspectiveCamera(const PerspectiveCamera& c);
24 PerspectiveCamera& operator=(const PerspectiveCamera& c);
27 Vec3f m_pos, m_dir, m_up;
30 //! preprocessed values
32 Vec3f m_xAxis, m_yAxis, m_zAxis;