mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-01 17:09:26 -04:00
Change whirl direction to match Scratch 2.0 3D
The whirl effect's direction was reversed in Scratch 2.0 with the introduction of Stage3D. This "bug" has existed for long enough to become the expected whirl direction. This change adjusts the Scratch 3.0 whirl direction to match the Scratch 2.0 3D whirl direction instead of the Scratch 2.0 2D whirl direction.
This commit is contained in:
parent
be6d2dc4e4
commit
6c4715f793
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ ShaderManager.EFFECT_INFO = {
|
|||
whirl: {
|
||||
mask: 1 << 2,
|
||||
converter: function(x) {
|
||||
return x * Math.PI / 180;
|
||||
return -x * Math.PI / 180;
|
||||
},
|
||||
shapeChanges: true
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue