From 18a76c2a4a6247ef9d18de157f5dba391d8ff244 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Apr 2023 19:09:36 +0100 Subject: Reformat with new clang-format 16 --- gfx/gl/camera.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gfx/gl') diff --git a/gfx/gl/camera.cpp b/gfx/gl/camera.cpp index f642423..c4c9544 100644 --- a/gfx/gl/camera.cpp +++ b/gfx/gl/camera.cpp @@ -6,10 +6,10 @@ #include Camera::Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar) : - position {pos}, forward {::north}, up {::up}, near {zNear}, far {zFar}, projection {glm::perspective( - fov, aspect, zNear, zFar)}, - viewProjection {projection * glm::lookAt(position, position + forward, up)}, inverseViewProjection { - glm::inverse(viewProjection)} + position {pos}, forward {::north}, up {::up}, near {zNear}, far {zFar}, + projection {glm::perspective(fov, aspect, zNear, zFar)}, + viewProjection {projection * glm::lookAt(position, position + forward, up)}, + inverseViewProjection {glm::inverse(viewProjection)} { } -- cgit v1.2.3