diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-09 16:34:07 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-09 16:34:07 +1100 |
commit | 72dd38466fd47a688334a6a59479e838d6246960 (patch) | |
tree | 1f882d128732e349d8ef9fe4e769e92d92b43014 /src/camera.h | |
parent | 5798fb0204f4798a3b42312da78be7669779d92f (diff) |
create camera and split view/proj matrices
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h index 226f80e..df91712 100644 --- a/src/camera.h +++ b/src/camera.h @@ -23,4 +23,4 @@ typedef struct camera { camera camera_create(vec3 pos, vec3 front, vec3 up, f32 fov); /** @brief get a 4x4 transform matrix for the view and perspective projection */ -void camera_view_projection(camera *c, f32 screen_height, f32 screen_width, mat4 *out_view_proj);
\ No newline at end of file +void camera_view_projection(camera *c, f32 screen_height, f32 screen_width,mat4 *out_view, mat4 *out_proj);
\ No newline at end of file |