#ifndef PRGE_TYPES_H #define PRGE_TYPES_H enum KeyState_Enum { KeyState_RELEASE = 0, KeyState_PRESS = 1 }; typedef struct { enum KeyState_Enum last; enum KeyState_Enum state; } Key; typedef struct { V2 mouse_pos; V2 last_mouse_pos; V2 mouse_offset; B32 first_mouse; B32 is_running; F32 dt; Key move_right; Key move_forward; Key move_left; Key move_backward; Key move_up; Key move_down; Key jump; Key action_right; Key action_up; Key action_left; Key action_down; Key exit; } Input; typedef struct { V3 pos; } Vertex; typedef struct { Vertex *verts; U32 nverts; U32 *indices; U32 nindices; U32 vao, vbo, ebo; } Mesh; #endif /* PRGE_TYPES_H */