Skip to content

Commit f0a53c2

Browse files
committed
Website updates
1 parent 6d0e776 commit f0a53c2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

dist/en/main/examples/wind.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/wind.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/renderer/webgl/FlowLayer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ class FlowLayerRenderer extends WebGLTileLayerRenderer {
448448
);
449449

450450
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);
453453
this.helper.setUniformFloatVec2(U.ROTATION, rotation);
454454

455455
this.helper.setUniformFloatValue(U.MAX_SPEED, this.maxSpeed_);
@@ -478,8 +478,8 @@ class FlowLayerRenderer extends WebGLTileLayerRenderer {
478478
helper.setUniformFloatValue(U.DROP_RATE_BUMP, this.dropRateBump_);
479479

480480
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);
483483
this.helper.setUniformFloatVec2(U.ROTATION, rotation);
484484

485485
const size = frameState.size;

0 commit comments

Comments
 (0)