calacirya

view src/camera.h @ 0:df9e0bc7685a

starting calacirya project
author John Tsiombikas <nuclear@mutantstargoat.com>
date Sun, 18 Sep 2011 11:46:55 +0300
parents
children
line source
1 #ifndef CAMERA_H_
2 #define CAMERA_H_
4 #include <vmath.h>
5 #include <anim.h>
7 struct camera {
8 struct anm_node *node;
9 float vfov;
10 float shutter, aperture;
12 struct camera *next;
13 };
15 ray_t get_prim_ray(struct camera *cam, vec2_t ppos, float tm);
17 #endif /* CAMERA_H_ */