Mercurial > hg > old > magoroku_racing
annotate 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 (2011-07-30) |
parents | 4f50f5a3b363 |
children |
rev | line source |
---|---|
91 | 1 #ifndef CAMERA_H |
2 #define CAMERA_H | |
3 | |
4 #include "game.h" | |
5 #include "libps2.h" | |
6 | |
7 typedef struct camera{ | |
8 FVECTOR xyz; | |
9 FVECTOR zd; | |
10 FVECTOR yd; | |
130 | 11 float angle[4]; // これだけFVECTORじゃない理由は? |
91 | 12 } CAMERA; |
13 | |
96
0b65ca27f113
compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents:
91
diff
changeset
|
14 void camera_update(Game *game, FMATRIX pose); |
0b65ca27f113
compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents:
91
diff
changeset
|
15 void camera_init(); |
91 | 16 void set_camera(CAMERA *camera); |
17 | |
128 | 18 CAMERA get_MagorokuCamera( void ); |
19 | |
91 | 20 #endif |