00001
00002
00003 #pragma once
00004
00005 #ifndef CAM_H
00006 #define CAM_H
00007
00008 #include "common.h"
00009 #include "glut.h"
00010
00014 class Cam
00015 {
00016 public:
00017 Cam(float *_rotation, const float _zoomFactor, float *_translation);
00018 ~Cam();
00019
00020 void positionCamera();
00021
00022 void setRotation(float *_rotation);
00023 void setZoom(const float _zoomFactor);
00024 void setTranslation(float *_translation);
00025
00026 float* getRotation();
00027 float getZoom();
00028 float* getTranslation();
00029
00030 private:
00032 float *rotation;
00034 float zoomFactor;
00036 float *translation;
00037
00038 };
00039 #endif CAM_H