calacirya

annotate 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
rev   line source
nuclear@0 1 #ifndef CAMERA_H_
nuclear@0 2 #define CAMERA_H_
nuclear@0 3
nuclear@0 4 #include <vmath.h>
nuclear@0 5 #include <anim.h>
nuclear@0 6
nuclear@0 7 struct camera {
nuclear@0 8 struct anm_node *node;
nuclear@0 9 float vfov;
nuclear@0 10 float shutter, aperture;
nuclear@0 11
nuclear@0 12 struct camera *next;
nuclear@0 13 };
nuclear@0 14
nuclear@0 15 ray_t get_prim_ray(struct camera *cam, vec2_t ppos, float tm);
nuclear@0 16
nuclear@0 17 #endif /* CAMERA_H_ */