Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/save/SaveRenderer.java | ||
---|---|---|
96 | 96 |
mEffects = new DistortedEffects(); |
97 | 97 |
mEffects.apply( new VertexEffectSink(diSink, pLeft , sinkRegion) ); |
98 | 98 |
mEffects.apply( new VertexEffectSink(diSink, pRight, sinkRegion) ); |
99 |
mEffects.apply( new MatrixEffectMove(mMove)); |
|
100 | 99 |
mEffects.apply( new MatrixEffectScale(mScaleMain)); |
101 | 100 |
mEffects.apply( new MatrixEffectScale(mScaleFactor)); |
101 |
mEffects.apply( new MatrixEffectMove(mMove)); |
|
102 | 102 |
|
103 | 103 |
mScreen = new DistortedScreen(); |
104 | 104 |
} |
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!