From 6f57982222a711ff902d0f0a481df0cf80df6d92 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Thu, 27 Jul 2023 22:14:50 -0400 Subject: [PATCH] Add files via upload --- AK004/atmosphericManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AK004/atmosphericManager.js b/AK004/atmosphericManager.js index 3213134c..a95587f3 100644 --- a/AK004/atmosphericManager.js +++ b/AK004/atmosphericManager.js @@ -115,11 +115,11 @@ } var zoneRotation = Quat.fromVec3Radians({"x": spin * (Math.PI/8) * (Math.sin((GetCurrentCycleValue(today.getTime(), 2 * Math.PI, MONTH_DURATION)) * (2 * Math.PI))), "y": 0.0, "z": (Math.PI/3 * Math.sin(cycle))}); - var anglVelo = spin * (Math.PI/(D29_HOUR_DURATION/HOUR_DIV) ); + var anglVelo = spin * ((2 * Math.PI/3)/(D29_HOUR_DURATION/HOUR_DIV)); var ambientIntensity = intensity/10; var currentsky = "https://aleziakurdis.github.io/inertia/AK004/images/sky.jpg"; - print("version: 121"); + print("version: 122"); print("zoneRotation: " + JSON.stringify(zoneRotation)); print("anglVelo: " + anglVelo); print("intensity: " + intensity);