Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/wind/WindEffectsManager.java | ||
---|---|---|
112 | 112 |
|
113 | 113 |
setWind(0); |
114 | 114 |
|
115 |
effects.apply( new MatrixEffectShear(shearFactor,midLeft) ); |
|
116 | 115 |
effects.apply( new MatrixEffectScale(scaleFactor) ); |
116 |
effects.apply( new MatrixEffectShear(shearFactor,midLeft) ); |
|
117 | 117 |
effects.apply( new VertexEffectDeform(deformForce,midRight) ); |
118 | 118 |
effects.apply( new VertexEffectWave(windDynamic1, midRight, windRegion) ); |
119 | 119 |
effects.apply( new VertexEffectWave(windDynamic2, midRight, windRegion) ); |
Also available in: Unified diff
Invert the order of Matrix Effects. Now, just as in the other queues, the first matrix effect is actually the first to act on the object - not the other way around!