summaryrefslogtreecommitdiff
path: root/src/new_render/skybox.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
commitaa1eeebb1c05edc22335cbb48af5d42be20750c0 (patch)
treecc0ef4dc620cb8621fd1a3762b7205b7a16401dc /src/new_render/skybox.c
parentf083cacb259054ce996b70f8b9dc0d9eb0bdbfb8 (diff)
moving some maths functions to implementation file
Diffstat (limited to 'src/new_render/skybox.c')
-rw-r--r--src/new_render/skybox.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/new_render/skybox.c b/src/new_render/skybox.c
index 8ba4da9..5456401 100644
--- a/src/new_render/skybox.c
+++ b/src/new_render/skybox.c
@@ -122,9 +122,7 @@ Skybox Skybox_Create(const char** face_paths, int n) {
return (Skybox){ .cube = cube, .texture = handle, .pipeline = pipeline };
}
-Skybox Skybox_Default() {
- return Skybox_Create(faces, 6);
-}
+Skybox Skybox_Default() { return Skybox_Create(faces, 6); }
void Skybox_Draw(Skybox* skybox, Camera camera) {
GPU_CmdEncoder* enc = GPU_GetDefaultEncoder();