calacirya

view src/camera.h @ 3:71a3eb026e80

writing the scene file spec
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 22 Sep 2011 02:23:50 +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_ */