From 5528a2ee17bdfe5c54cabed99117894d65a04e83 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:09:19 -0400 Subject: [PATCH] Add files via upload --- AK004/atmosphericManager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AK004/atmosphericManager.js b/AK004/atmosphericManager.js index ebe3053e..ddbcd27b 100644 --- a/AK004/atmosphericManager.js +++ b/AK004/atmosphericManager.js @@ -115,12 +115,12 @@ } 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 * ((2 * Math.PI/3)/(((updateTimerInterval/1000) * MAX_COUNT) * 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: 126"); - print("zoneRotation: " + JSON.stringify(zoneRotation)); + print("version: 127"); + //print("zoneRotation: " + JSON.stringify(zoneRotation)); print("anglVelo: " + anglVelo); print("intensity: " + intensity);