From 68f590c848e0e91d70e7116655464f392ed6df46 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:40:34 +1100 Subject: chore: format --- src/camera.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/camera.c') diff --git a/src/camera.c b/src/camera.c index 79f9c19..eb8fc7d 100644 --- a/src/camera.c +++ b/src/camera.c @@ -6,10 +6,8 @@ mat4 camera_view_proj(camera camera, f32 lens_height, f32 lens_width, mat4* out_ vec3 camera_direction = vec3_add(camera.position, camera.forwards); mat4 view_matrix = mat4_look_at(camera.position, camera_direction, camera.up); - if (out_view) - *out_view = view_matrix; - if (out_proj) - *out_proj = projection_matrix; + if (out_view) *out_view = view_matrix; + if (out_proj) *out_proj = projection_matrix; return mat4_mult(view_matrix, projection_matrix); } \ No newline at end of file -- cgit v1.2.3-70-g09d2