dont remember
[carveJwlIkooP6JGAAIwe30JlM.git] / camera.h
index dbacc26afd7d89f47308781caeef7767ae0f03e4..405f055e216328450bef5a804b342a2be4959c87 100644 (file)
--- a/camera.h
+++ b/camera.h
@@ -25,7 +25,14 @@ struct camera
    mtx,
    mtx_prev;
 }
-VG_STATIC main_camera;
+VG_STATIC main_camera, gate_camera;
+
+VG_STATIC void camera_lerp_angles( v3f a, v3f b, float t, v3f d )
+{
+   d[0] = vg_alerpf( a[0], b[0], t );
+   d[1] = vg_lerpf(  a[1], b[1], t );
+   d[2] = vg_lerpf(  a[2], b[2], t );
+}
 
 VG_STATIC void camera_lerp( camera *a, camera *b, float t, camera *d )
 {