Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/check/CheckRenderer.java | ||
---|---|---|
93 | 93 |
mCenter = new Static3D(0,0,0); |
94 | 94 |
|
95 | 95 |
mEffects = new DistortedEffects(); |
96 |
mEffects.apply(new MatrixEffectMove(mMove)); |
|
97 | 96 |
mEffects.apply(new MatrixEffectScale(mScale)); |
97 |
mEffects.apply(new MatrixEffectMove(mMove)); |
|
98 | 98 |
|
99 | 99 |
// Try adding 2 Vertex Effects to the Bitmap. |
100 | 100 |
// This will fail if we have set maxVertexEffects to something < 2. |
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!