From 898a2709f678562f29f7eca3b4b75e66f9d0f4fc Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Thu, 12 Aug 2021 15:43:57 +0200 Subject: [PATCH] [#106] Fixed weird Windows flexing Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- projects/indirect_dispatch/resources/models/Sphere.gltf | 3 --- projects/indirect_dispatch/resources/models/cube.gltf | 2 +- .../resources/models/{Sphere.bin => sphere.bin} | 0 projects/indirect_dispatch/resources/models/sphere.gltf | 3 +++ projects/indirect_dispatch/src/App.cpp | 2 ++ projects/indirect_dispatch/src/main.cpp | 1 + 6 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 projects/indirect_dispatch/resources/models/Sphere.gltf rename projects/indirect_dispatch/resources/models/{Sphere.bin => sphere.bin} (100%) create mode 100644 projects/indirect_dispatch/resources/models/sphere.gltf diff --git a/projects/indirect_dispatch/resources/models/Sphere.gltf b/projects/indirect_dispatch/resources/models/Sphere.gltf deleted file mode 100644 index 0b380598..00000000 --- a/projects/indirect_dispatch/resources/models/Sphere.gltf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19b29ddffaeecfa15f19dc943c0ecc9cb3c22d47adb35c19e8727edd7e29c565 -size 1847 diff --git a/projects/indirect_dispatch/resources/models/cube.gltf b/projects/indirect_dispatch/resources/models/cube.gltf index d6b80705..38b1c218 100644 --- a/projects/indirect_dispatch/resources/models/cube.gltf +++ b/projects/indirect_dispatch/resources/models/cube.gltf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2418009f665c0862617868de1dc4ff29533c1203956d8ea90c5eee2f50a517e8 +oid sha256:d710d2e005893256abeee910fdba8851e9c654c7f3b548bdd39bdbc3c043e73f size 2270 diff --git a/projects/indirect_dispatch/resources/models/Sphere.bin b/projects/indirect_dispatch/resources/models/sphere.bin similarity index 100% rename from projects/indirect_dispatch/resources/models/Sphere.bin rename to projects/indirect_dispatch/resources/models/sphere.bin diff --git a/projects/indirect_dispatch/resources/models/sphere.gltf b/projects/indirect_dispatch/resources/models/sphere.gltf new file mode 100644 index 00000000..05ca88fb --- /dev/null +++ b/projects/indirect_dispatch/resources/models/sphere.gltf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46911098be2cba7a817d6a2b92a65fbb36c48f3556385ef28d2fb5d9cddbcf2c +size 1847 diff --git a/projects/indirect_dispatch/src/App.cpp b/projects/indirect_dispatch/src/App.cpp index 4b372ae9..68ff0060 100644 --- a/projects/indirect_dispatch/src/App.cpp +++ b/projects/indirect_dispatch/src/App.cpp @@ -63,6 +63,8 @@ bool App::initialize() { const int cameraIndex = m_cameraManager.addCamera(vkcv::camera::ControllerType::PILOT); m_cameraManager.getCamera(cameraIndex).setPosition(glm::vec3(0, 0, -3)); + + return true; } void App::run() { diff --git a/projects/indirect_dispatch/src/main.cpp b/projects/indirect_dispatch/src/main.cpp index 6e3d9e63..b27e0bcb 100644 --- a/projects/indirect_dispatch/src/main.cpp +++ b/projects/indirect_dispatch/src/main.cpp @@ -5,6 +5,7 @@ int main(int argc, const char** argv) { App app; if (!app.initialize()) { std::cerr << "Application initialization failed, exiting" << std::endl; + return 1; } app.run(); -- GitLab