Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/Camera.h @ 221:d61fded0729e
Cameraの設定、Makefile 修正
author | gongo@gendarme.local |
---|---|
date | Tue, 10 Feb 2009 01:47:12 +0900 |
parents | 0f1ff7b06157 |
children | 25c820b6060e |
line wrap: on
line source
#ifndef INCLUDED_CAMERA #define INCLUDED_CAMERA #ifndef INCLUDED_SCENE_GRAPH # include "SceneGraph.h" #endif 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