fix typo
This commit is contained in:
parent
35ecaf0c2a
commit
1a44e7010a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue