goat3d

view src/camera.h @ 47:498ca7ac7047

- placed all the implementation stuff in the g3dimpl namespace - added animation stuff to the public API - started writing animation saving/loading
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 28 Dec 2013 06:47:39 +0200
parents cd71f0b92f44
children dad392c710df
line source
1 #ifndef CAMERA_H_
2 #define CAMERA_H_
4 #include "object.h"
6 namespace g3dimpl {
8 class Camera : public Object {
9 public:
10 float near_clip, far_clip;
12 Camera();
13 };
15 class TargetCamera : public Camera {
16 public:
17 Vector3 target, up;
19 TargetCamera();
20 };
22 } // namespace g3dimpl
24 #endif // CAMERA_H_