quick backup of changes:
[demo] / src / camera.cc
1 #include <gmath/gmath.h>
2 #include "camera.h"
3
4 Camera::Camera()
5 {
6         phi = theta = distance = 0;
7         fov = 0;
8         m_projection = Mat4::identity;
9 }
10
11 Camera::Camera(float phi, float theta, float distance, float fov)
12 {
13         this->phi = phi;
14         this->theta = theta;
15         this->distance = distance;
16
17         this->fov = fov;
18 }
19
20 Camera::~Camera() {}