#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;
m4x3f transform,
transform_inverse;
- struct camera_mtx
- {
+ struct camera_mtx{
m4x4f p,
v,
pv;
}
mtx,
mtx_prev;
-}
-VG_STATIC main_camera, gate_camera;
+};
VG_STATIC void camera_lerp_angles( v3f a, v3f b, float t, v3f d )
{