00001 #pragma once
00002
00003 #include "Vector.h"
00004 #include "states.h"
00005
00007
00010 class Camera
00011 {
00012 public:
00016 Camera()
00017 {
00018 m_viewpos = Vector(0.0f,0.0f,-1.0f);
00019 m_viewtarget = Vector(0.0f,0.0f,0.0f);
00020 };
00021
00027 Camera(Vector viewpos, Vector viewtarget)
00028 {
00029 m_viewpos = viewpos;
00030 m_viewtarget = viewtarget;
00031 };
00032
00036 ~Camera()
00037 {
00038
00039 };
00040
00041
00042 Vector m_viewpos;
00043 Vector m_viewtarget;
00044
00045 int slidemode;
00046
00047 float startviewportx;
00048 float startviewporty;
00049 float viewportx;
00050 float viewporty;
00051
00052 float rotx;
00053 float roty;
00054
00055 States::Display m_Type;
00056 };