clang-format on /apps/demos/bunnymark files
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user