Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AleziaKurdis committed Jul 26, 2023
1 parent d4368d5 commit 51be67c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions AK004/atmosphericManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,12 @@
}
intensity = 0.5 + (Math.cos((hour/24) * (2 * Math.PI)) * 1.5);

//var zoneRotation = Quat.fromVec3Radians({"x": (Math.PI/8) * (Math.sin((GetCurrentCycleValue(today.getTime(), 2 * Math.PI, MONTH_DURATION)) * (2 * Math.PI))), "y": 0.0, "z": GetCurrentCycleValue(today.getTime(), Math.PI, D29_HOUR_DURATION/6)});
var zoneRotation = Quat.fromVec3Radians({"x": (Math.PI/8) * (Math.sin((GetCurrentCycleValue(today.getTime(), 2 * Math.PI, MONTH_DURATION)) * (2 * Math.PI))), "y": 0.0, "z": (Math.PI/2) - GetCurrentCycleValue(today.getTime(), Math.PI, D29_HOUR_DURATION/6)});


var anglVelo = 0;//(Math.PI/(D29_HOUR_DURATION/6)) * 2 * MAX_COUNT;
var anglVelo = (-Math.PI/(D29_HOUR_DURATION/6)) * 2 * MAX_COUNT;
var ambientIntensity = intensity/10;
var currentsky = "https://aleziakurdis.github.io/inertia/AK004/images/sky.jpg";

print("version: 104");
print("version: 105");
print("zoneRotation: " + JSON.stringify({"x": Math.sin((GetCurrentCycleValue(today.getTime(), 2 * Math.PI, MONTH_DURATION)) * (2 * Math.PI)), "y": 0.0, "z": GetCurrentCycleValue(today.getTime(), Math.PI, D29_HOUR_DURATION/6)}));
print("anglVelo: " + anglVelo);

Expand Down

0 comments on commit 51be67c

Please sign in to comment.