view camera.h @ 93:3731dd016e1b

halfway_3
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 26 May 2011 15:01:13 +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