calacirya

view src/camera.h @ 2:0c1aab0534c5

added scnfmt initial
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 22 Sep 2011 01:19:37 +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_ */