X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=camera.h;h=1c265a7515dd3bdf3209c9b9e5f1e9f791940e3f;hb=47941822dae18a018c985847b052e70214a3ccc6;hp=07205de223417ce84a392b4a8406043f0a260248;hpb=4f96bd0040e35ecb21d353ee2b895129682d22c1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/camera.h b/camera.h index 07205de..1c265a7 100644 --- a/camera.h +++ b/camera.h @@ -3,13 +3,13 @@ #include "common.h" -static v2f camera_angles; -static v3f camera_pos; +VG_STATIC v2f camera_angles; +VG_STATIC v3f camera_pos; -static m4x3f camera_mtx, - camera_mtx_inverse; +VG_STATIC m4x3f camera_mtx, + camera_mtx_inverse; -static void camera_update(void) +VG_STATIC void camera_update(void) { /* Update camera matrices */ v4f qyaw, qpitch, qcam;