clang-format on /apps/demos/bunnymark files

This commit is contained in:
2024-10-08 01:20:42 +03:00
parent 78034b69f5
commit 5c91423fbb
7 changed files with 70 additions and 71 deletions

View File

@ -44,8 +44,8 @@ typedef struct ActionHashItem {
} ActionHashItem;
/* TODO: don't assume SDL button mask */
typedef struct InputState {
const uint8_t *keyboard_state; /* array of booleans indexed by scancode */
uint32_t mouse_state; /* SDL mouse button bitmask */
Vec2i mouse_window_position;
Vec2i mouse_relative_position;
@ -54,6 +54,7 @@ typedef struct InputState {
/* engine state */
ActionHashItem *action_hash;
const uint8_t *keyboard_state; /* array of booleans indexed by scancode */
} InputState;