X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=camera.h;h=7d720f7ca0f18214cb2735af044dbb72cd7f323b;hb=5bfb36032928ba9f8d12e72961af68bfab9ea648;hp=f028f825e67ef227119af309e365c2b49f494776;hpb=aed3995840d5472275b7bf143efed7c4f9daa358;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/camera.h b/camera.h index f028f82..7d720f7 100644 --- a/camera.h +++ b/camera.h @@ -1,12 +1,10 @@ #ifndef CAMERA_H #define CAMERA_H -#include "common.h" +#include "skaterift.h" typedef struct camera camera; - -struct camera -{ +struct camera{ /* Input */ v3f angles; v3f pos; @@ -23,8 +21,7 @@ struct camera } mtx, mtx_prev; -} -static main_camera, gate_camera; +}; VG_STATIC void camera_lerp_angles( v3f a, v3f b, float t, v3f d ) {