ol 10.2.2-dev.1728459389696 → 10.2.2-dev.1728502482077

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "10.2.2-dev.1728459389696",
3
+ "version": "10.2.2-dev.1728502482077",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
@@ -448,8 +448,8 @@ class FlowLayerRenderer extends WebGLTileLayerRenderer {
448
448
  );
449
449
 
450
450
  const rotation = this.tempVec2_;
451
- rotation[0] = Math.cos(frameState.viewState.rotation);
452
- rotation[1] = Math.sin(frameState.viewState.rotation);
451
+ rotation[0] = Math.cos(-frameState.viewState.rotation);
452
+ rotation[1] = Math.sin(-frameState.viewState.rotation);
453
453
  this.helper.setUniformFloatVec2(U.ROTATION, rotation);
454
454
 
455
455
  this.helper.setUniformFloatValue(U.MAX_SPEED, this.maxSpeed_);
@@ -478,8 +478,8 @@ class FlowLayerRenderer extends WebGLTileLayerRenderer {
478
478
  helper.setUniformFloatValue(U.DROP_RATE_BUMP, this.dropRateBump_);
479
479
 
480
480
  const rotation = this.tempVec2_;
481
- rotation[0] = Math.cos(frameState.viewState.rotation);
482
- rotation[1] = Math.sin(frameState.viewState.rotation);
481
+ rotation[0] = Math.cos(-frameState.viewState.rotation);
482
+ rotation[1] = Math.sin(-frameState.viewState.rotation);
483
483
  this.helper.setUniformFloatVec2(U.ROTATION, rotation);
484
484
 
485
485
  const size = frameState.size;
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '10.2.2-dev.1728459389696';
36
+ export const VERSION = '10.2.2-dev.1728502482077';