meteor showers: test with 100 active debug meteors
This commit is contained in:
1 parent
36a8493b27
commit
86c72c2160
2 files changed
+4
-4
No files matched your search
Vendored
+2
-2
@@ -6260,7 +6260,7 @@ var METEORS_ON = METEOR_CFG.enabled !== false;
|
||||
var meteorProg = null, meteorVbo = null, meteorUniforms = null, meteorCount = 0;
|
||||
var meteorList = [], meteorSpawnAcc = 0, meteorLastT = null, meteorAllowDay = false;
|
||||
var METEOR_BRIGHT = (typeof METEOR_CFG.brightness === 'number') ? Math.max(0, METEOR_CFG.brightness) : 1.0;
|
||||
var METEOR_MAX_ACTIVE = (typeof METEOR_CFG.maxActive === 'number') ? Math.max(1, Math.min(80, METEOR_CFG.maxActive)) : 12;
|
||||
var METEOR_MAX_ACTIVE = (typeof METEOR_CFG.maxActive === 'number') ? Math.max(1, Math.min(150, METEOR_CFG.maxActive)) : 12;
|
||||
var METEOR_RATE = (typeof METEOR_CFG.rate === 'number') ? Math.max(0, Math.min(8, METEOR_CFG.rate)) : 0.25;
|
||||
var METEOR_SPEED = (typeof METEOR_CFG.speedDegPerSec === 'number') ? Math.max(1, Math.min(80, METEOR_CFG.speedDegPerSec)) : 14;
|
||||
var METEOR_LENGTH = (typeof METEOR_CFG.lengthDeg === 'number') ? Math.max(2, Math.min(90, METEOR_CFG.lengthDeg)) : 18;
|
||||
@@ -6363,7 +6363,7 @@ function meteorDebugActive(sceneDate, realDate) {
|
||||
raH: (typeof rad.raH === 'number') ? rad.raH : 3.2,
|
||||
decDeg: (typeof rad.decDeg === 'number') ? rad.decDeg : 58,
|
||||
rate: meteorNum(METEOR_DEBUG.rate, 1.2, 0, 8),
|
||||
maxActive: (typeof METEOR_DEBUG.maxActive === 'number') ? Math.max(1, Math.min(80, Math.round(METEOR_DEBUG.maxActive))) : 18,
|
||||
maxActive: (typeof METEOR_DEBUG.maxActive === 'number') ? Math.max(1, Math.min(150, Math.round(METEOR_DEBUG.maxActive))) : 18,
|
||||
lengthDeg: meteorNum(METEOR_DEBUG.lengthDeg, 22, 2, 90),
|
||||
speedDegPerSec: meteorNum(METEOR_DEBUG.speedDegPerSec, 18, 1, 80),
|
||||
brightness: meteorNum(METEOR_DEBUG.brightness, 2.4, 0, 8),
|
||||
|
||||
Reference in new issue
Block a user