Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java | ||
---|---|---|
101 | 101 |
|
102 | 102 |
mMove = new Static3D(0,0,0); |
103 | 103 |
mScale= new Static3D(1,1,1); |
104 |
mEffects.apply(new MatrixEffectMove(mMove)); |
|
105 | 104 |
mEffects.apply(new MatrixEffectScale(mScale)); |
105 |
mEffects.apply(new MatrixEffectMove(mMove)); |
|
106 | 106 |
|
107 | 107 |
mScreen = new DistortedScreen(); |
108 | 108 |
} |
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!