view camera.h @ 115:31dd5c07f7c1

class OBJECT:SceanGraph
author e085768
date Wed, 15 Jun 2011 23:31:59 +0900
parents 0b65ca27f113
children d9e3137e70a0
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;

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

#endif