techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/cam.h
diff options
context:
space:
mode:
authortech kaczynski <tk@techkaczynski.dev>2026-10-19 04:05:26 +1000
committertech kaczynski <tk@techkaczynski.dev>2026-10-19 04:05:26 +1000
commitbd1268267e1b0cbf6253c992bce0e5224da7fa01 (patch)
tree96025889269645011bc634aed0a668addc80c686 /cam.h
parentedc50a43a0ab064472aa7fde90f14cf456d92076 (diff)
updated editor move tool and related gizmos.
Diffstat (limited to 'cam.h')
-rw-r--r--cam.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cam.h b/cam.h
index 8af2614..186d3f9 100644
--- a/cam.h
+++ b/cam.h
@@ -14,11 +14,14 @@ typedef struct {
CamState state;
f32 mv_speed, mv_scale, lk_speed;
f32 perspective_fov;
- bool update, input, allow_fly;
+ bool update, input, allow_fly, axis_view;
+ bool local_space;
+ Quaternion view_rotation;
struct {
Vec3 start_pos, start_target;
Vec3 end_pos, end_target;
+ Quaternion start_rot, end_rot;
f32 start_fovy, end_fovy;
f32 elapsed;
bool active;