From 452e585cd8610e4c123b757af83a55899047eb56 Mon Sep 17 00:00:00 2001 From: Waridley Date: Fri, 15 Dec 2023 23:26:30 -0600 Subject: [PATCH] Day-night cycle is now a configurable Resource --- .idea/runConfigurations/Cleanup.xml | 8 +++++ .idea/runConfigurations/rustfmt.xml | 2 +- rs/assets/shaders/skybox.wgsl | 7 ++-- rs/src/lib.rs | 2 +- rs/src/planet.rs | 12 ++++--- rs/src/planet/day_night.rs | 52 +++++++++++++++++++++++++++++ rs/src/planet/sky.rs | 30 +++++++++++------ 7 files changed, 95 insertions(+), 18 deletions(-) create mode 100644 .idea/runConfigurations/Cleanup.xml create mode 100644 rs/src/planet/day_night.rs diff --git a/.idea/runConfigurations/Cleanup.xml b/.idea/runConfigurations/Cleanup.xml new file mode 100644 index 0000000..c8727ff --- /dev/null +++ b/.idea/runConfigurations/Cleanup.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/rustfmt.xml b/.idea/runConfigurations/rustfmt.xml index 3030f39..21a9c83 100644 --- a/.idea/runConfigurations/rustfmt.xml +++ b/.idea/runConfigurations/rustfmt.xml @@ -1,6 +1,6 @@ -