Revert "backup some changes:"
authorEleni Maria Stea <estea@igalia.com>
Wed, 12 Jul 2017 15:26:16 +0000 (18:26 +0300)
committerEleni Maria Stea <estea@igalia.com>
Wed, 12 Jul 2017 15:26:16 +0000 (18:26 +0300)
This reverts commit f906c6d5d6b93dcc4c0f3d54e679cf86c829b91e.

src/camera.cc [deleted file]
src/camera.h [deleted file]

diff --git a/src/camera.cc b/src/camera.cc
deleted file mode 100644 (file)
index d7839b5..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <gmath/gmath.h>
-#include "camera.h"
-
-Camera::Camera()
-{
-       phi = theta = distance = 0;
-       fov = 0;
-       m_projection = Mat4::identity;
-}
-
-Camera::Camera(float phi, float theta, float distance, float fov)
-{
-       this->phi = phi;
-       this->theta = theta;
-       this->distance = distance;
-
-       this->fov = fov;
-}
-
-Camera::~Camera() {}
\ No newline at end of file
diff --git a/src/camera.h b/src/camera.h
deleted file mode 100644 (file)
index 8b3a895..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef CAMERA_H_
-#define CAMERA_H_
-
-#include <gmath/gmath.h>
-
-class Camera {
-public:
-       float phi;
-       float theta;
-       float distance;
-
-       Mat4 m_projection;
-       float fov;
-
-       Camera();
-       Camera(float phi, float theta, float distance, float fov);
-       ~Camera();
-};
-
-#endif // CAMERA_H_
\ No newline at end of file