X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=camera.h;h=7d720f7ca0f18214cb2735af044dbb72cd7f323b;hb=ca35eceae3abfcfb9ba266d6ea8e664bc06b0a3e;hp=314eafe08b65e532239c66c30ae1a6313ef93818;hpb=9eb3de757a997becb8406417a4bf613f4cb04900;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/camera.h b/camera.h index 314eafe..7d720f7 100644 --- a/camera.h +++ b/camera.h @@ -4,9 +4,7 @@ #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 ) {