projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now fall in immobile mode
[carveJwlIkooP6JGAAIwe30JlM.git]
/
camera.h
diff --git
a/camera.h
b/camera.h
index 6fcd2fc161e24b42be6701e73971fb8642fb5e9e..7d720f7ca0f18214cb2735af044dbb72cd7f323b 100644
(file)
--- a/
camera.h
+++ b/
camera.h
@@
-1,12
+1,10
@@
#ifndef CAMERA_H
#define CAMERA_H
#ifndef CAMERA_H
#define CAMERA_H
-#include "
common
.h"
+#include "
skaterift
.h"
typedef struct camera camera;
typedef struct camera camera;
-
-struct camera
-{
+struct camera{
/* Input */
v3f angles;
v3f pos;
/* Input */
v3f angles;
v3f pos;
@@
-16,16
+14,14
@@
struct camera
m4x3f transform,
transform_inverse;
m4x3f transform,
transform_inverse;
- struct camera_mtx
- {
+ struct camera_mtx{
m4x4f p,
v,
pv;
}
mtx,
mtx_prev;
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 )
{
VG_STATIC void camera_lerp_angles( v3f a, v3f b, float t, v3f d )
{