summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index e8896ed..859c826 100644
--- a/src/common.h
+++ b/src/common.h
@@ -33,11 +33,15 @@ typedef struct {
short y;
} cs_t;
+typedef struct c3_rotation {
+ degrees x;
+ degrees y;
+ degrees z;
+} c3_rot_t;
+
struct camera {
c3_t p;
- degrees xr;//rotations
- degrees yr;
- degrees zr;
+ c3_rot_t r;
real zoom;
} camera;