goat3d
annotate src/camera.h @ 24:6b651613bd9f
fixed the windows stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Sep 2013 06:32:00 +0300 |
parents | 2918358f5e6d |
children | 498ca7ac7047 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef CAMERA_H_ |
nuclear@0 | 2 #define CAMERA_H_ |
nuclear@0 | 3 |
nuclear@8 | 4 #include "object.h" |
nuclear@8 | 5 |
nuclear@8 | 6 class Camera : public Object { |
nuclear@8 | 7 public: |
nuclear@8 | 8 float near_clip, far_clip; |
nuclear@8 | 9 |
nuclear@8 | 10 Camera(); |
nuclear@8 | 11 }; |
nuclear@8 | 12 |
nuclear@8 | 13 class TargetCamera : public Camera { |
nuclear@8 | 14 public: |
nuclear@8 | 15 Vector3 target, up; |
nuclear@8 | 16 |
nuclear@8 | 17 TargetCamera(); |
nuclear@0 | 18 }; |
nuclear@0 | 19 |
nuclear@0 | 20 #endif // CAMERA_H_ |