@@ -692,21 +692,22 @@ export default class PlanetData extends ChangeTracker {
692
692
this . biomesParams . splice ( 0 )
693
693
this . biomesParams . push (
694
694
// eslint-disable-next-line @typescript-eslint/no-explicit-any
695
- ...( data . _biomesParams ?? [ ] ) . map ( ( params : any ) =>
696
- new BiomeParameters (
697
- this . changedProps ,
698
- '_biomesParameters' ,
699
- {
700
- temperatureMin : params . _tempMin ?? 0.0 ,
701
- temperatureMax : params . _tempMax ?? 0.5 ,
702
- humidityMin : params . _humiMin ?? 0.0 ,
703
- humidityMax : params . _humiMax ?? 1.0 ,
704
- } ,
705
- new Color ( params . _color ) ,
706
- params . _smoothness ?? 0.25 ,
707
- params . _id
708
- )
709
- )
695
+ ...( data . _biomesParams ?? [ ] ) . map (
696
+ ( params : any ) =>
697
+ new BiomeParameters (
698
+ this . changedProps ,
699
+ '_biomesParameters' ,
700
+ {
701
+ temperatureMin : params . _tempMin ?? 0.0 ,
702
+ temperatureMax : params . _tempMax ?? 0.5 ,
703
+ humidityMin : params . _humiMin ?? 0.0 ,
704
+ humidityMax : params . _humiMax ?? 1.0 ,
705
+ } ,
706
+ new Color ( params . _color ) ,
707
+ params . _smoothness ?? 0.25 ,
708
+ params . _id ,
709
+ ) ,
710
+ ) ,
710
711
)
711
712
712
713
// Clouds
@@ -741,16 +742,17 @@ export default class PlanetData extends ChangeTracker {
741
742
this . ringsParams . splice ( 0 )
742
743
this . ringsParams . push (
743
744
// eslint-disable-next-line @typescript-eslint/no-explicit-any
744
- ...( data . _ringsParams ?? [ ] ) . map ( ( params : any ) =>
745
- new RingParameters (
746
- this . changedProps ,
747
- '_ringsParameters' ,
748
- params . _innerRadius ?? 1.25 ,
749
- params . _outerRadius ?? 1.5 ,
750
- params . _colorRamp ?. _steps ,
751
- params . _id
752
- )
753
- )
745
+ ...( data . _ringsParams ?? [ ] ) . map (
746
+ ( params : any ) =>
747
+ new RingParameters (
748
+ this . changedProps ,
749
+ '_ringsParameters' ,
750
+ params . _innerRadius ?? 1.25 ,
751
+ params . _outerRadius ?? 1.5 ,
752
+ params . _colorRamp ?. _steps ,
753
+ params . _id ,
754
+ ) ,
755
+ ) ,
754
756
)
755
757
756
758
// Compatibility & conversion calls
0 commit comments