Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
---|---|---|
113 | 113 |
{ |
114 | 114 |
mMove[i] = new Static3D(0,0,0); |
115 | 115 |
moveEffect[i] = new MatrixEffectMove(mMove[i]); |
116 |
mEffects[i].apply(moveEffect[i]); |
|
117 | 116 |
mEffects[i].apply(scaleEffect); |
117 |
mEffects[i].apply(moveEffect[i]); |
|
118 | 118 |
} |
119 | 119 |
|
120 | 120 |
mScreen = new DistortedScreen(); |
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!