camera.h (272B)
1 2 #ifndef POLYADVENT_CAMERA_H 3 #define POLYADVENT_CAMERA_H 4 5 #include "mat4.h" 6 #include "vec3.h" 7 #include "node.h" 8 9 struct camera { 10 float frustum[16]; 11 struct node_id node_id; 12 }; 13 14 void camera_follow(vec3 *cam_pos, vec3 *target, mat4 *cam); 15 16 #endif /* POLYADVENT_CAMERA_H */