00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _CAMERA_H_
00022 #define _CAMERA_H_
00023
00024 #include "Vector3.h"
00025 #include "Matrix4x4.h"
00026
00027 namespace TestFrameWork
00028 {
00029
00030 class Camera
00031 {
00032 public:
00033 Camera(void);
00034
00035 Camera(const Vector3& position, const Vector3& target, const Vector3& up);
00036
00037 ~Camera(void);
00038
00039 const Vector3& GetPosition(void) const;
00040
00041 const Matrix4x4& GetViewTransform(void) const;
00042
00043 const Matrix4x4& GetProjectionTransform(void) const;
00044
00045 protected:
00046 Vector3 m_position;
00047
00048 Matrix4x4 m_viewTransform;
00049
00050 Matrix4x4 m_projectionTransform;
00051 };
00052
00053 }
00054
00055 #endif