diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 21:39:31 +1100 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 21:39:31 +1100 |
commit | f7b91c2eae24ecb7a20b638246fb849d6c63615a (patch) | |
tree | 4bdf8fd3425db9f0203f7cf1c58464f4be88e720 /src/renderer/render_backend.h | |
parent | 16237e6499f47d963df35c0f0c4649900ec98d84 (diff) |
start adding mouse input processing
Diffstat (limited to 'src/renderer/render_backend.h')
-rw-r--r-- | src/renderer/render_backend.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h index 69d14d8..ea84b27 100644 --- a/src/renderer/render_backend.h +++ b/src/renderer/render_backend.h @@ -3,6 +3,7 @@ */ #pragma once +#include "camera.h" #include "maths_types.h" #include "render_types.h" @@ -12,8 +13,9 @@ bool gfx_backend_init(renderer* ren); void gfx_backend_shutdown(renderer* ren); -void gfx_backend_draw_frame(renderer* ren); -void gfx_backend_update_global_state(mat4 projection, mat4 view, vec3 view_pos, vec4 ambient_colour, i32 mode); +void gfx_backend_draw_frame(renderer* ren, camera* camera, mat4 model); +void gfx_backend_update_global_state(mat4 projection, mat4 view, vec3 view_pos, vec4 ambient_colour, + i32 mode); void clear_screen(vec3 colour); |