aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/camera.h
blob: 5d72d2992845656e72eab66fd7917cf1c613722b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef O3D_CAMERA_H
#define O3D_CAMERA_H

#include "math/vector.h"

namespace engine::o3d {

class Scene;

class Camera {
    public:
        Scene* scene = nullptr;
        engine::math::Vector3 loc;
        float rot_x, rot_y, rot_z; // TODO: replace by quaternions

        Camera(engine::math::Vector3 loc, float rot_x, float rot_y, float rot_z);
};

}

#endif // O3D_CAMERA_H