rotateTowards, key store, camera faces Z-, CCW frontface

This commit is contained in:
duck
2025-05-28 01:22:18 +05:00
parent 1e454ba428
commit 5fc8358aa7
9 changed files with 183 additions and 101 deletions

View File

@@ -1,3 +1,8 @@
const sdl = @import("sdl");
const key_store = @import("data/keystore.zig");
buttons: key_store.KeyStore(@TypeOf(sdl.BUTTON_LEFT), 4, 0),
x: f32,
y: f32,
dx: f32,