Mercurial > hg > Game > Cerium
view Renderer/Engine/Camera.h @ 591:65e52fd2c2e2 draft
send linda not work...
author | kazz@kazzone.st.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 01 Nov 2009 06:14:52 +0900 |
parents | 3bc98f6d31ff |
children | 7a311860a76e |
line wrap: on
line source
#ifndef INCLUDED_CAMERA #define INCLUDED_CAMERA #include "SceneGraph.h" class Camera : public SceneGraph { public: Camera(float w = 640, float h = 480); ~Camera(void); float zd[4]; // direction z float yd[4]; // direction y float fov; float near; float far; float *m_view; float *m_pers; float *m_screen; void updateView(void); void updatePerspective(float w, float h); void updateScreen(float w, float h); void setCamera(float *pose); void update(float screen_w, float screen_h); }; typedef Camera *CameraPtr; #endif