update sla device with resolution. add halot sky device
This commit is contained in:
parent
790b1f5869
commit
ed9ddfd83e
10 changed files with 48 additions and 14 deletions
|
|
@ -1271,7 +1271,7 @@
|
|||
for (let [k,v] of Object.entries(consts)) {
|
||||
eva.push(`let ${k} = "${v}";`);
|
||||
}
|
||||
eva.push(`function range(a,b) { return (a + (layer / layers) * (b-a)).round(3) }`)
|
||||
eva.push(`function range(a,b) { return (a + (layer / layers) * (b-a)).round(4) }`)
|
||||
eva.push(`try {( ${tok} )} catch (e) {console.log(e);0}`);
|
||||
let scr = eva.join('');
|
||||
let evl = eval(`{ ${scr} }`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue