calacirya
annotate 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 |
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_ */ |