This commit is contained in:
Pyritie 2025-10-21 16:28:52 +01:00
parent 35ecaf0c2a
commit 1a44e7010a

View file

@ -55,7 +55,7 @@ global.getMarsClimateController = function () {
createWindCallback: function (builder) {
var self = this;
return function (level, pos, calendarTicks) {
const strength = Max.max(0, (Math.sin(calendarTicks / 10000) -0.6) / 1.5);
const strength = Math.max(0, (Math.sin(calendarTicks / 10000) -0.6) / 1.5);
const newX = Math.cos(calendarTicks / 2400) * strength;
const newZ = Math.sin(calendarTicks / 2400) * strength;