Mercurial > hg > old > magoroku_racing
view camera.h @ 153:0a375e9c4288 gongo tip
close
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 Jul 2011 14:45:21 +0900 |
parents | 4f50f5a3b363 |
children |
line wrap: on
line source
#ifndef CAMERA_H #define CAMERA_H #include "game.h" #include "libps2.h" typedef struct camera{ FVECTOR xyz; FVECTOR zd; FVECTOR yd; float angle[4]; // これだけFVECTORじゃない理由は? } CAMERA; void camera_update(Game *game, FMATRIX pose); void camera_init(); void set_camera(CAMERA *camera); CAMERA get_MagorokuCamera( void ); #endif