@@ -26,8 +26,8 @@ export class WindParticlesComputing {
2626 } ;
2727 windData : Required < WindData > ;
2828 private frameRateMonitor : FrameRateMonitor ;
29- private frameRate : number = 60 ;
30- private frameRateAdjustment : number = 1 ;
29+ frameRate : number = 60 ;
30+ frameRateAdjustment : number = 1 ;
3131
3232 constructor ( context : any , windData : Required < WindData > , options : WindLayerOptions , viewerParameters : any , scene : any ) {
3333 this . context = context ;
@@ -150,8 +150,9 @@ export class WindParticlesComputing {
150150 speedRange : ( ) => new Cartesian2 ( this . windData . speed . min , this . windData . speed . max ) ,
151151 currentParticlesPosition : ( ) => this . particlesTextures . currentParticlesPosition ,
152152 speedScaleFactor : ( ) => {
153- return ( this . viewerParameters . pixelSize + 50 ) * this . options . speedFactor * this . frameRateAdjustment ;
153+ return ( this . viewerParameters . pixelSize + 50 ) * this . options . speedFactor ;
154154 } ,
155+ frameRateAdjustment : ( ) => this . frameRateAdjustment ,
155156 dimension : ( ) => new Cartesian2 ( this . windData . width , this . windData . height ) ,
156157 minimum : ( ) => new Cartesian2 ( this . windData . bounds . west , this . windData . bounds . south ) ,
157158 maximum : ( ) => new Cartesian2 ( this . windData . bounds . east , this . windData . bounds . north ) ,
0 commit comments