Default and copy constructors for Perspective and Orthographic cameras

This commit is contained in:
Eryn Wells 2014-07-19 20:56:47 -07:00
parent 672ff82e03
commit 6f04526d36
2 changed files with 27 additions and 0 deletions

View file

@ -55,6 +55,10 @@ private:
class PerspectiveCamera
: public Camera
{
public:
PerspectiveCamera();
PerspectiveCamera(const Camera& other);
Ray compute_primary_ray(const int x, const int width,
const int y, const int height) const;
};
@ -64,6 +68,9 @@ class OrthographicCamera
: public Camera
{
public:
OrthographicCamera();
OrthographicCamera(const Camera& other);
Ray compute_primary_ray(const int x, const int width,
const int y, const int height) const;
};