view camera.h @ 94:30d89b592bc0

halfway_4
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 26 May 2011 15:04:10 +0900
parents cb6c6de125dc
children 0b65ca27f113
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];
} CAMERA;

extern void camera_update(Game *game, FMATRIX pose);
extern void camera_init();
void set_camera(CAMERA *camera);



#endif